mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:43:15 -06:00
29 lines
428 B
Makefile
29 lines
428 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
|
|
@for i in $(SUBDIRS) ; do \
|
|
(cd $$i ; make all ) \
|
|
done
|
|
|
|
clobber:
|
|
@for i in $(SUBDIRS) ; do \
|
|
(cd $$i ; make clobber ) \
|
|
done
|
|
|
|
clean:
|
|
@for i in $(SUBDIRS) ; do \
|
|
(cd $$i ; make clean ) \
|
|
done
|