summaryrefslogtreecommitdiff
path: root/apps/examples/elf/tests/mutex/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-17 18:54:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-17 18:54:53 +0000
commita444a16f4746959a1332cb21749fbdf9a31df091 (patch)
treed220ebef3bfba64591298b4c51a0c0dd6e10ae0b /apps/examples/elf/tests/mutex/Makefile
parentb023c1b10ea54b6fc54f0ec747c766187c58190f (diff)
downloadnuttx-a444a16f4746959a1332cb21749fbdf9a31df091.tar.gz
nuttx-a444a16f4746959a1332cb21749fbdf9a31df091.tar.bz2
nuttx-a444a16f4746959a1332cb21749fbdf9a31df091.zip
Most of the changes needed to support Windows native clean; distclean is has a problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5367 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/elf/tests/mutex/Makefile')
-rw-r--r--apps/examples/elf/tests/mutex/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/examples/elf/tests/mutex/Makefile b/apps/examples/elf/tests/mutex/Makefile
index 756ada2c0..958c0c38e 100644
--- a/apps/examples/elf/tests/mutex/Makefile
+++ b/apps/examples/elf/tests/mutex/Makefile
@@ -33,7 +33,6 @@
#
############################################################################
--include $(TOPDIR)/.config
-include $(TOPDIR)/Make.defs
BIN = mutex
@@ -45,15 +44,16 @@ all: $(BIN)
$(OBJS): %.o: %.c
@echo "CC: $<"
- @$(CC) -c $(CELFFLAGS) $< -o $@
+ $(Q) $(CC) -c $(CELFFLAGS) $< -o $@
$(BIN): $(OBJS)
@echo "LD: $<"
- @$(LD) $(LDELFFLAGS) -o $@ $^
+ $(Q) $(LD) $(LDELFFLAGS) -o $@ $^
clean:
- @rm -f $(BIN) *.o *~ .*.swp core
+ $(call DELFILE $(BIN))
+ $(call CLEAN)
install:
- @mkdir -p $(ROMFS_DIR)
- @install $(BIN) $(ROMFS_DIR)/$(BIN)
+ $(Q) mkdir -p $(ROMFS_DIR)
+ $(Q) install $(BIN) $(ROMFS_DIR)/$(BIN)