Files
RomWBW/Tools/unix/bst/Makefile
Wayne Warthen d241db5c11 Makefile Improvements
The clobber target has been removed and the clean target now does what most people would expect (actually cleans the entire build tree).
2022-07-06 16:39:03 -07:00

24 lines
339 B
Makefile

#
# build the propeller tools for linux and Darwin
#
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
SUFFIX=linux
endif
ifeq ($(UNAME), Darwin)
SUFFIX=osx
endif
DEST = ../../$(UNAME)
all: $(DEST)
-for i in *.$(SUFFIX) ; do \
chmod +x $$i ; \
cp -p $$i $(DEST)/$$(basename $$i .$(SUFFIX)) ; \
done
$(DEST):
mkdir $(DEST)
clean: