Some Makefile fixes

This commit is contained in:
bernd 2011-08-01 17:33:48 +02:00
parent 597b3ec8d4
commit f48538b47c
1 changed files with 4 additions and 4 deletions

View File

@ -9,11 +9,8 @@ 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
@ -27,10 +24,13 @@ LIBS += ../firmware/basic/libbasic.a
OBJS+=../simcore/simcore.o ../simcore/misc.o ../simcore/timecounter.o
OBJS += simulat0r.o
.PHONY : all
all : simulat0r
simulat0r : simulat0r.o $(OBJS) $(LIBS)
simulat0r : $(OBJS) $(LIBS)
$(LD) $(OBJS) $(LIBS) -lc -o $@
clean:
$(RM) simulat0r.o