20 lines
491 B
Makefile
20 lines
491 B
Makefile
|
|
|
|
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
|
|
|
|
.PHONY : all
|
|
all : simcore.o misc.o #$(OBJS) $(LIBS)
|