Files
RomWBW/Tools/unix/Makefile
Wayne Warthen ef536750ea Makefile Improvements
These changes improve the chances of a make operation actually failing when a nested error occurs.
2023-10-24 13:25:32 -07:00

23 lines
406 B
Makefile

#
# build the tools for linux and Darwin
#
.ONESHELL:
.SHELLFLAGS = -cex
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
SUFFIX=linux
endif
ifeq ($(UNAME), Darwin)
SUFFIX=osx
endif
SUBDIRS = OpenSpin 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;)