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