mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:23:13 -06:00
The clobber target has been removed and the clean target now does what most people would expect (actually cleans the entire build tree).
19 lines
369 B
Makefile
19 lines
369 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;)
|
|
|
|
clean:
|
|
@$(foreach subdir,$(SUBDIRS),$(MAKE) --directory $(subdir) clean;)
|