Added clean targets
This commit is contained in:
parent
34b0ba6e58
commit
7964b4631a
|
@ -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)
|
||||
|
|
|
@ -28,3 +28,5 @@ all : simulat0r
|
|||
|
||||
simulat0r : simulat0r.o $(OBJS) $(LIBS)
|
||||
|
||||
clean:
|
||||
$(RM) simulat0r.o
|
||||
|
|
Loading…
Reference in New Issue