From: uz Date: Fri, 10 Feb 2012 20:03:38 +0000 (+0000) Subject: Added main makefile for target utils. X-Git-Tag: V2.14~541 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=af2417fc92305bfefff63663c1e48d2ce9aca5f4;p=cc65 Added main makefile for target utils. git-svn-id: svn://svn.cc65.org/cc65/trunk@5522 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/targetutil/Makefile b/targetutil/Makefile new file mode 100644 index 000000000..ef20b64b0 --- /dev/null +++ b/targetutil/Makefile @@ -0,0 +1,32 @@ +# +# Makefile +# + +# -------------------------------------------------------------------------- +# Programs + +# Subdirectories +SUBDIRS = apple2 geos-apple + +# -------------------------------------------------------------------------- +# List of executables. This list could be made target dependent by checking +# $(SYS). + +.PHONY: all +all: + @for DIR in $(SUBDIRS); do \ + $(MAKE) -C $${DIR} $(MAKEOPTS); \ + done + +.PHONY: clean +clean: + @for DIR in $(SUBDIRS); do \ + $(MAKE) -C $${DIR} $(MAKEOPTS) clean; \ + done + +.PHONY: zap +zap: + @for DIR in $(SUBDIRS); do \ + $(MAKE) -C $${DIR} $(MAKEOPTS) zap; \ + done +