mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:43:15 -06:00
23 lines
468 B
Makefile
23 lines
468 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 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;)
|