aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-01-27 13:15:49 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-01-27 13:15:49 +0000
commita960e4b3b2ae72c6c3573fb690a1b9cde1642bc0 (patch)
tree97eeeedafe3c60ce692f6eec00e9427866a4b8d1 /Projects/Webserver/makefile
parent1aeb5056d6943331ee2d11807bcc0a6480ad1ca0 (diff)
downloadlufa-a960e4b3b2ae72c6c3573fb690a1b9cde1642bc0.tar.gz
lufa-a960e4b3b2ae72c6c3573fb690a1b9cde1642bc0.tar.bz2
lufa-a960e4b3b2ae72c6c3573fb690a1b9cde1642bc0.zip
Add DHCP server to the Webserver demo for automatic network configuration. Correct uIP timer clock not tracking the correct timespan.
Diffstat (limited to 'Projects/Webserver/makefile')
-rw-r--r--Projects/Webserver/makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Projects/Webserver/makefile b/Projects/Webserver/makefile
index 27a7850aa..4a1b85bdd 100644
--- a/Projects/Webserver/makefile
+++ b/Projects/Webserver/makefile
@@ -122,6 +122,7 @@ LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
# List C source files here. (C dependencies are automatically generated.)
SRC = $(TARGET).c \
+ Lib/DHCPApp.c \
Lib/WebserverApp.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c \
$(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c \
@@ -188,6 +189,7 @@ CSTANDARD = -std=gnu99
# Place -D or -U options here for C sources
CDEFS = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)
+CDEFS += -DENABLE_DHCP
# Place -D or -U options here for ASM sources