You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
DEFINES += -DF_CPU=16000000
|
|
|
|
|
CFLAGS += -save-temps
|
|
|
|
|
CFLAGS += -std=gnu99 -Wall # implements C99, for <util/atomic.h>
|
|
|
|
|
# this removes dead code and does global linker optimization
|
|
|
|
|
#CFLAGS += -ffunction-sections -Wl,--gc-sections -Wl,--relax
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include Makefile.inc
|
|
|
|
|
|
|
|
|
|
# symbolic targets:
|
|
|
|
|
all: master
|
|
|
|
|
|
|
|
|
|
master:
|
|
|
|
|
cd masterchip; $(MAKE) $(MFLAGS)
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
cd masterchip; $(MAKE) $(MFLAGS) clean
|
|
|
|
|
cd slavechip; $(MAKE) $(MFLAGS) clean
|