pill_6502/Makefile

19 lines
355 B
Makefile
Raw Normal View History

ifneq ($(V), 1)
MFLAGS += --no-print-dir
Q := @
endif
all:
$(Q)if [ ! -f libopencm3/Makefile ]; then \
echo "Initialising git submodules..." ;\
git submodule init ;\
git submodule update ;\
fi
$(Q)$(MAKE) $(MFLAGS) -C libopencm3 lib
$(Q)$(MAKE) $(MFLAGS) -C src
clean:
$(Q)$(MAKE) $(MFLAGS) -C libopencm3 $@
$(Q)$(MAKE) $(MFLAGS) -C src $@