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 +