mirror of
https://github.com/cc65/cc65.git
synced 2024-06-07 07:29:33 +00:00
ff4eeebec2
I added the "MAKEOPTS=" to the top-level "gcc.mak" that he wants, and I changed the tool source tree's top-level make-file so that it supports parallel building. (I added a rule that builds the common library before building anything else.) git-svn-id: svn://svn.cc65.org/cc65/trunk@4497 b7a2c559-68d2-44c3-8de9-860c34a00d81
27 lines
378 B
Makefile
27 lines
378 B
Makefile
#
|
|
# gcc Makefile for the program sources
|
|
#
|
|
PROGS = \
|
|
ar65 \
|
|
ca65 \
|
|
cc65 \
|
|
chrcvt \
|
|
cl65 \
|
|
co65 \
|
|
da65 \
|
|
grc \
|
|
ld65 \
|
|
od65
|
|
|
|
SUBDIRS = common $(PROGS)
|
|
|
|
.PHONY: all dist clean zap $(SUBDIRS)
|
|
all dist clean zap: $(SUBDIRS)
|
|
|
|
# Finish building the common library before allowing parallel makes.
|
|
$(PROGS): common
|
|
|
|
$(SUBDIRS):
|
|
$(MAKE) -C $@ -f make/gcc.mak $(MAKECMDGOALS)
|
|
|