summaryrefslogtreecommitdiff
path: root/apps/examples/uip/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-31 23:05:51 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-31 23:05:51 +0000
commitb351b752486c1693392faed106a8a77609006656 (patch)
tree8b04048671d38afda5fd5fbcea2ae16a9da8bcbc /apps/examples/uip/Makefile
parentf8d292453df82fde56d2e4674ba78b5885fed899 (diff)
downloadnuttx-b351b752486c1693392faed106a8a77609006656.tar.gz
nuttx-b351b752486c1693392faed106a8a77609006656.tar.bz2
nuttx-b351b752486c1693392faed106a8a77609006656.zip
The content for uIP web server demo is no longer canned, but is not built dynameically (Thanks to Max Holtzberg)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5073 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/uip/Makefile')
-rw-r--r--apps/examples/uip/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/apps/examples/uip/Makefile b/apps/examples/uip/Makefile
index bf1d39917..4407998fc 100644
--- a/apps/examples/uip/Makefile
+++ b/apps/examples/uip/Makefile
@@ -1,8 +1,8 @@
############################################################################
# apps/examples/uip/Makefile
#
-# Copyright (C) 2007-2008, 2010-2011 Gregory Nutt. All rights reserved.
-# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+# Copyright (C) 2007-2008, 2010-2012 Gregory Nutt. All rights reserved.
+# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -40,7 +40,7 @@ include $(APPDIR)/Make.defs
# uIP very tiny web server example
ASRCS =
-CSRCS = main.c
+CSRCS = main.c cgi.c httpd_fsdata.c
AOBJS = $(ASRCS:.S=$(OBJEXT))
COBJS = $(CSRCS:.c=$(OBJEXT))
@@ -75,6 +75,9 @@ $(COBJS): %$(OBJEXT): %.c
done ; )
@touch .built
+httpd_fsdata.c: httpd-fs/*
+ $(TOPDIR)/tools/mkfsdata.pl
+
context:
.depend: Makefile $(SRCS)
@@ -85,6 +88,7 @@ epend: .depend
clean:
@rm -f *.o *~ .*.swp .built
+ @rm -f httpd_fsdata.c
$(call CLEAN)
distclean: clean