Add DHCP server to the Webserver demo for automatic network configuration. Correct...
[pub/USBasp.git] / Projects / Webserver / makefile
index 27a7850..4a1b85b 100644 (file)
@@ -122,6 +122,7 @@ LUFA_OPTS += -D USE_STATIC_OPTIONS="(USB_OPT_REG_ENABLED | USB_OPT_AUTO_PLL)"
 \r
 # List C source files here. (C dependencies are automatically generated.)\r
 SRC = $(TARGET).c                                                 \\r
+         Lib/DHCPApp.c                                               \\r
          Lib/WebserverApp.c                                          \\r
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/DevChapter9.c        \\r
          $(LUFA_PATH)/LUFA/Drivers/USB/LowLevel/Endpoint.c           \\r
@@ -188,6 +189,7 @@ CSTANDARD = -std=gnu99
 \r
 # Place -D or -U options here for C sources\r
 CDEFS  = -DF_CPU=$(F_CPU)UL -DF_CLOCK=$(F_CLOCK)UL -DBOARD=BOARD_$(BOARD) $(LUFA_OPTS)\r
+CDEFS += -DENABLE_DHCP\r
 \r
 \r
 # Place -D or -U options here for ASM sources\r