crashtest-r0ket/simulat0r/tui/Makefile

39 lines
840 B
Makefile
Raw Normal View History

2011-07-19 08:09:03 +00:00
ROOT_PATH=../firmware
include ../firmware/Makefile.inc
CFLAGS += -std=gnu99
CFLAGS += -I../firmware
CFLAGS += -I../firmware/core # for gpio.h including projectconfig.h without path
CFLAGS += -I../simcore
OBJS+= ../firmware/basic/*.o
OBJS+= ../firmware/core/*.o
OBJS+= ../firmware/core/*/*.o
LIBS+= ../firmware/applications/libapp.a
LIBS+= ../firmware/lcd/liblcd.a
LIBS+= ../firmware/usb/libusb.a
#LIBS += -lm
LIBS += ../firmware/filesystem/libfat.a
LIBS += ../firmware/core/libcore.a
2011-07-25 01:15:18 +00:00
LIBS += ../firmware/funk/libfunk.a
LIBS += ../firmware/usbcdc/libusbcdc.a
LIBS += ../firmware/basic/libbasic.a
2011-07-19 08:09:03 +00:00
2011-07-25 06:50:33 +00:00
OBJS+=../simcore/simcore.o ../simcore/misc.o ../simcore/timecounter.o
2011-07-19 08:09:03 +00:00
2011-08-04 12:13:02 +00:00
OBJS += ../firmware/table.o
2011-08-01 15:33:48 +00:00
OBJS += simulat0r.o
2011-07-19 08:09:03 +00:00
.PHONY : all
all : simulat0r
2011-08-01 15:33:48 +00:00
simulat0r : $(OBJS) $(LIBS)
$(LD) $(OBJS) $(LIBS) -lc -o $@
2011-07-19 08:09:03 +00:00
2011-07-24 20:37:33 +00:00
clean:
$(RM) simulat0r.o