Make apps configurable in Makefile
This commit is contained in:
parent
39552d8598
commit
7ab9942de6
|
@ -1,5 +1,7 @@
|
||||||
PROJECT=pentabug
|
PROJECT=pentabug
|
||||||
|
|
||||||
|
APPS = buggy mariotheme geiger ducklings blinker
|
||||||
|
|
||||||
OPTIMIZATION = -Os
|
OPTIMIZATION = -Os
|
||||||
MCU = atmega88pa
|
MCU = atmega88pa
|
||||||
F_CPU = 8000000
|
F_CPU = 8000000
|
||||||
|
@ -8,7 +10,8 @@ FUSES = lfuse:w:0xe2:m -U hfuse:w:0xdf:m -U efuse:w:0x01:m
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
SRC=$(wildcard lib/*.c apps/*.c *.c)
|
APP_SRC=$(APPS:%=apps/%.c)
|
||||||
|
SRC=$(wildcard lib/*.c *.c) $(APP_SRC)
|
||||||
OBJECTS= $(SRC:.c=.o)
|
OBJECTS= $(SRC:.c=.o)
|
||||||
LSTFILES= $(SRC:.c=.lst)
|
LSTFILES= $(SRC:.c=.lst)
|
||||||
HEADERS=$(wildcard */*/*.h */*.h *.h)
|
HEADERS=$(wildcard */*/*.h */*.h *.h)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user