crashtest-r0ket/simulat0r/tui/Makefile

37 lines
838 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
LDFLAGS+= -L../firmware/applications
LIBS+= ../firmware/applications/libapp.a
LDFLAGS+= -L../firmware/lcd
LIBS+= ../firmware/lcd/liblcd.a
LDFLAGS+= -L../firmware/usb
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
OBJS+=../simcore/simcore.o ../simcore/misc.o
.PHONY : all
all : simulat0r
simulat0r : simulat0r.o $(OBJS) $(LIBS)
2011-07-24 20:37:33 +00:00
clean:
$(RM) simulat0r.o