summaryrefslogtreecommitdiff
path: root/apps/netutils/thttpd/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-06 23:01:06 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-04-06 23:01:06 +0000
commit8285ffad2245a53de14c65913b00dab5568f0afc (patch)
treea4707d8f1e51d31b1fc2866c63260bfbf99b1f34 /apps/netutils/thttpd/Makefile
parentdcea5f0360725d2c25b61eefe9db7b2474b26dd6 (diff)
downloadnuttx-8285ffad2245a53de14c65913b00dab5568f0afc.tar.gz
nuttx-8285ffad2245a53de14c65913b00dab5568f0afc.tar.bz2
nuttx-8285ffad2245a53de14c65913b00dab5568f0afc.zip
current_regs should be volatile; add support for nested interrupts; enable interrupts during syscall processing
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3475 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils/thttpd/Makefile')
-rw-r--r--apps/netutils/thttpd/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/netutils/thttpd/Makefile b/apps/netutils/thttpd/Makefile
index ec0df4ba6..963ab514f 100644
--- a/apps/netutils/thttpd/Makefile
+++ b/apps/netutils/thttpd/Makefile
@@ -69,9 +69,15 @@ SUBDIR_BIN3 = ssi
SUBDIR_BIN += cgi-bin/$(SUBDIR_BIN1) cgi-bin/$(SUBDIR_BIN2) cgi-bin/$(SUBDIR_BIN3)
endif
-all: $(SUBDIR_BIN) $(BIN)
+all: $(SUBDIR_BIN) .built
.PHONY: depend clean distclean
+$(AOBJS): %$(OBJEXT): %.S
+ $(call ASSEMBLE, $<, $@)
+
+$(COBJS): %$(OBJEXT): %.c
+ $(call COMPILE, $<, $@)
+
ifeq ($(CONFIG_NXFLAT),y)
cgi-bin:
@mkdir cgi-bin
@@ -97,12 +103,10 @@ endif
.built: $(OBJS)
@( for obj in $(OBJS) ; do \
- $(call ARCHIVE, $@, $${obj}); \
+ $(call ARCHIVE, $(BIN), $${obj}); \
done ; )
@touch .built
-.built: $(BIN)
-
context:
.depend: Makefile $(SRCS)