2011-07-24 16:04:41 +00:00
|
|
|
webserver-nano_src = webserver-nogui.c httpd.c psock.c memb.c httpd-fs.c httpd-cgi.c
|
|
|
|
webserver-nano_dsc = webserver-dsc.c
|
2011-08-24 14:52:30 +00:00
|
|
|
|
|
|
|
#Run makefsdata to regenerate httpd-fsdata.c when web content has been edited. This requires PERL.
|
|
|
|
# Note: Deleting files or transferring pages from makefsdata.ignore will not trigger this rule
|
|
|
|
# when there is no change in modification dates.
|
|
|
|
$(CONTIKI)/apps/webserver-nano/httpd-fsdata.c : $(CONTIKI)/apps/webserver-nano/httpd-fs/*.*
|
2011-08-25 18:43:55 +00:00
|
|
|
$(CONTIKI)/tools/makefsdata -A HTTPD_STRING_ATTR -d $(CONTIKI)/apps/webserver-nano/httpd-fs -o $(CONTIKI)/apps/webserver-nano/httpd-fsdata.c
|
2011-08-24 14:52:30 +00:00
|
|
|
|
|
|
|
#Rebuild httpd-fs.c when makefsdata has changed httpd-fsdata.c
|
|
|
|
$(CONTIKI)/apps/webserver-nano/httpd-fs.c: $(CONTIKI)/apps/webserver-nano/httpd-fsdata.c
|
|
|
|
touch $(CONTIKI)/apps/webserver-nano/httpd-fs.c
|