Remove all references to mcu.o, serial.o, dns.o as we do not need them for the driver. Remove all references to sockutil.o and util.o as we are not using them at present. Note: It might be worth re-introducing some of the sockutil functions at a later date.

git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@38 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
master
follower 17 years ago
parent f631dffd5e
commit 35155a347f

@ -37,7 +37,7 @@ HEX_EEPROM_FLAGS += --change-section-lma .eeprom=0
## 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
LINKONLYOBJECTS =
@ -51,12 +51,6 @@ all: $(TARGET) $(PROJECT)_direct_mode.hex $(PROJECT)_direct_mode.eep size
delay.o: delay.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
# $(CC) $(INCLUDES) $(CFLAGS) -c $<
@ -66,15 +60,6 @@ socket.o: socket.c
w5100.o: w5100.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
$(TARGET): $(OBJECTS)
$(CC) $(LDFLAGS) $(OBJECTS) $(LINKONLYOBJECTS) $(LIBDIRS) $(LIBS) -o $(TARGET)

Loading…
Cancel
Save