mirror of
https://github.com/satoshinm/pill_6502.git
synced 2024-12-27 02:30:01 +00:00
ee8f54e915
Based on the following sources: https://github.com/blacksphere/blackmagic https://github.com/satoshinm/pill_serial https://github.com/satoshinm/pill_duck
19 lines
355 B
Makefile
19 lines
355 B
Makefile
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 $@
|
|
|