colorchord/embedded8266/Makefile

26 lines
653 B
Makefile
Raw Normal View History

2016-08-19 00:13:41 +02:00
include user.cfg
include esp82xx/common.mf
include esp82xx/main.mf
2016-08-03 16:27:10 +02:00
2016-08-19 00:13:41 +02:00
SRCS += user/ws2812_i2s.c \
2015-07-27 09:34:00 +02:00
user/hpatimer.c \
2016-08-19 00:13:41 +02:00
user/adc.c \
2015-07-27 09:34:00 +02:00
../embeddedcommon/DFT32.c \
../embeddedcommon/embeddednf.c \
2016-08-19 00:13:41 +02:00
../embeddedcommon/embeddedout.c
2016-08-19 00:13:41 +02:00
LDFLAGS_CORE += -Wl,-Map,output.map
#Useful git commands
ifndef TARGET
# Fetch submodule if the user forgot to clone with `--recursive`
GETSUBMODS = all burn burnweb netweb netburn clean cleanall purge
.PHONY : $(GETSUBMODS)
$(GETSUBMODS) :
$(warning Submodule esp82xx was not fetched. Trying it now.)
git submodule update --init --recursive
$(info Re-unning make...)
make $@ $(MFLAGS) $(MAKEOVERRIDES)
endif