From af2417fc92305bfefff63663c1e48d2ce9aca5f4 Mon Sep 17 00:00:00 2001 From: uz Date: Fri, 10 Feb 2012 20:03:38 +0000 Subject: [PATCH] Added main makefile for target utils. git-svn-id: svn://svn.cc65.org/cc65/trunk@5522 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- targetutil/Makefile | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 targetutil/Makefile 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 + -- 2.39.5