@ -37,7 +37,7 @@ HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0
## Objects that must be built in order to link
## Objects that must be built in order to link
OBJECTS = socket.o w5100.o delay.o serial.o mcu.o dns.o sockutil.o util.o
OBJECTS = socket.o w5100.o delay.o
## Objects explicitly added by the user
## Objects explicitly added by the user
LINKONLYOBJECTS =
LINKONLYOBJECTS =
@ -51,12 +51,6 @@ all: $(TARGET) $(PROJECT)_direct_mode.hex $(PROJECT)_direct_mode.eep size
delay.o : delay .c
delay.o : delay .c
$( CC) $( INCLUDES) $( CFLAGS) -c $<
$( CC) $( INCLUDES) $( CFLAGS) -c $<
mcu.o : ../mcu /mcu .c
$( CC) $( INCLUDES) $( CFLAGS) -c $<
serial.o : ../mcu /serial .c
$( CC) $( INCLUDES) $( CFLAGS) -c $<
#timer.o: ../mcu/timer.c
#timer.o: ../mcu/timer.c
# $(CC) $(INCLUDES) $(CFLAGS) -c $<
# $(CC) $(INCLUDES) $(CFLAGS) -c $<
@ -66,15 +60,6 @@ socket.o: socket.c
w5100.o : w 5100.c
w5100.o : w 5100.c
$( CC) $( INCLUDES) $( CFLAGS) -c $<
$( CC) $( INCLUDES) $( CFLAGS) -c $<
dns.o : ../inet /dns .c
$( CC) $( INCLUDES) $( CFLAGS) -c $<
sockutil.o : ../util /sockutil .c
$( CC) $( INCLUDES) $( CFLAGS) -c $<
util.o : ../util /util .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)