mirror of https://github.com/wwarthen/RomWBW.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
468 B
23 lines
468 B
#
|
|
# 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 zx 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;)
|