Added clean targets

This commit is contained in:
bernd 2011-07-24 22:37:33 +02:00
parent 34b0ba6e58
commit 7964b4631a
2 changed files with 8 additions and 11 deletions

View File

@ -5,15 +5,10 @@ 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
OBJS = simcore.o misc.o
.PHONY : all
all : simcore.o misc.o #$(OBJS) $(LIBS)
.PHONY : all clean
all : $(OBJS)
clean:
$(RM) $(OBJS)

View File

@ -28,3 +28,5 @@ all : simulat0r
simulat0r : simulat0r.o $(OBJS) $(LIBS)
clean:
$(RM) simulat0r.o