|
|
|
@ -50,7 +50,7 @@ all: $(TARGET) $(PROJECT)_direct_mode.hex $(PROJECT)_direct_mode.eep size
|
|
|
|
|
## Compile
|
|
|
|
|
delay.o: ../mcu/delay.c
|
|
|
|
|
$(CC) $(INCLUDES) $(CFLAGS) -c $<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mcu.o: ../mcu/mcu.c
|
|
|
|
|
$(CC) $(INCLUDES) $(CFLAGS) -c $<
|
|
|
|
|
|
|
|
|
@ -59,7 +59,7 @@ serial.o: ../mcu/serial.c
|
|
|
|
|
|
|
|
|
|
#timer.o: ../mcu/timer.c
|
|
|
|
|
# $(CC) $(INCLUDES) $(CFLAGS) -c $<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
main.o: ../main/main.c
|
|
|
|
|
$(CC) $(INCLUDES) $(CFLAGS) -c $<
|
|
|
|
|
|
|
|
|
@ -77,10 +77,10 @@ dns.o: ../inet/dns.c
|
|
|
|
|
|
|
|
|
|
sockutil.o: ../util/sockutil.c
|
|
|
|
|
$(CC) $(INCLUDES) $(CFLAGS) -c $<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
util.o: ../util/util.c
|
|
|
|
|
$(CC) $(INCLUDES) $(CFLAGS) -c $<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##Link
|
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
|
|
|
$(CC) $(LDFLAGS) $(OBJECTS) $(LINKONLYOBJECTS) $(LIBDIRS) $(LIBS) -o $(TARGET)
|
|
|
|
|