mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Makefile simplification by Greg King
git-svn-id: svn://svn.cc65.org/cc65/trunk@4253 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
9329908927
commit
4e1faa0b01
@ -2,10 +2,6 @@
|
||||
# gcc Makefile for the program sources
|
||||
#
|
||||
|
||||
CFLAGS = -g -O2 -Wall -std=c89
|
||||
CC = gcc
|
||||
LDFLAGS =
|
||||
|
||||
SUBDIRS = \
|
||||
common \
|
||||
ar65 \
|
||||
@ -18,19 +14,7 @@ SUBDIRS = \
|
||||
ld65 \
|
||||
od65
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak all || exit $$?; done
|
||||
|
||||
.PHONY: dist
|
||||
dist:
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak dist || exit $$?; done
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak clean || exit $$?; done
|
||||
|
||||
.PHONY: zap
|
||||
zap:
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak zap || exit $$?; done
|
||||
.PHONY: all dist clean zap
|
||||
all dist clean zap:
|
||||
for i in $(SUBDIRS); do $(MAKE) -C $$i -f make/gcc.mak $@ || exit $$?; done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user