Some Makefile fixes
This commit is contained in:
parent
597b3ec8d4
commit
f48538b47c
|
@ -9,11 +9,8 @@ CFLAGS += -I../simcore
|
||||||
OBJS+= ../firmware/basic/*.o
|
OBJS+= ../firmware/basic/*.o
|
||||||
OBJS+= ../firmware/core/*.o
|
OBJS+= ../firmware/core/*.o
|
||||||
OBJS+= ../firmware/core/*/*.o
|
OBJS+= ../firmware/core/*/*.o
|
||||||
LDFLAGS+= -L../firmware/applications
|
|
||||||
LIBS+= ../firmware/applications/libapp.a
|
LIBS+= ../firmware/applications/libapp.a
|
||||||
LDFLAGS+= -L../firmware/lcd
|
|
||||||
LIBS+= ../firmware/lcd/liblcd.a
|
LIBS+= ../firmware/lcd/liblcd.a
|
||||||
LDFLAGS+= -L../firmware/usb
|
|
||||||
LIBS+= ../firmware/usb/libusb.a
|
LIBS+= ../firmware/usb/libusb.a
|
||||||
|
|
||||||
#LIBS += -lm
|
#LIBS += -lm
|
||||||
|
@ -27,10 +24,13 @@ LIBS += ../firmware/basic/libbasic.a
|
||||||
|
|
||||||
OBJS+=../simcore/simcore.o ../simcore/misc.o ../simcore/timecounter.o
|
OBJS+=../simcore/simcore.o ../simcore/misc.o ../simcore/timecounter.o
|
||||||
|
|
||||||
|
OBJS += simulat0r.o
|
||||||
|
|
||||||
.PHONY : all
|
.PHONY : all
|
||||||
all : simulat0r
|
all : simulat0r
|
||||||
|
|
||||||
simulat0r : simulat0r.o $(OBJS) $(LIBS)
|
simulat0r : $(OBJS) $(LIBS)
|
||||||
|
$(LD) $(OBJS) $(LIBS) -lc -o $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) simulat0r.o
|
$(RM) simulat0r.o
|
||||||
|
|
Loading…
Reference in New Issue