Files
RomWBW/Tools/unix/Makefile
Wayne Warthen 8c9ce2184e ZXCC Sync
- Attempting to sync ZXCC with latest source in repository by Tony Nicholson.  Generally a failure, but it is closer.
2022-02-10 16:51:33 -08:00

23 lines
470 B
Makefile

#
# build the tools for linux and Darwin
#
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
SUFFIX=linux
endif
ifeq ($(UNAME), Darwin)
SUFFIX=osx
endif
SUBDIRS = bst uz80as zxcc cpmtools bin2asm lzsa
all:
@chmod +x casefn.sh
@$(foreach subdir,$(SUBDIRS),$(MAKE) --directory $(subdir) all;)
clobber:
@$(foreach subdir,$(SUBDIRS),$(MAKE) --directory $(subdir) clobber;)
@rm -rf ../$(UNAME)
clean:
@$(foreach subdir,$(SUBDIRS),$(MAKE) --directory $(subdir) clean;)