Files
retrobsd/sys/pic32/Makefile
Brian Callahan bbba8d6f95 Remove all hardcoded make commands, changing them to ${MAKE}.
This is a first step towards being able to build RetroBSD on *BSD.
2014-05-25 16:25:15 -04:00

25 lines
742 B
Makefile

# Programs that live in subdirectories, and have makefiles of their own.
#
SUBDIR = baremetal dip duinomite duinomite-uart duinomite-e \
duinomite-e-uart explorer16 max32 max32-eth maximite \
meb pinguino-micro starter-kit ubw32 ubw32-uart \
ubw32-uart-sdram baremetal fubarino mmb-mx7 maximite-color \
32mxsdram-uart
default:
all:
-for i in $(SUBDIR); do ${MAKE} -C $$i all; done
install:
clean:
-for i in $(SUBDIR); do ${MAKE} -C $$i clean; done
find .. -name \*~ | xargs rm -f
reconfig:
-for i in $(SUBDIR); do echo $$i; \
I=`echo $$i | awk '{print toupper($$0)}'`; \
(cd $$i; ../../../tools/configsys/config $$I); done