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.
 
 
 
 
 
 

28 lines
436 B

#
# 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)
clobber: clean
-for i in *.$(SUFFIX) ; do \
rm $(DEST)/$$(basename $$i .$(SUFFIX)) ; \
done
clean: