summaryrefslogtreecommitdiff
path: root/apps/examples/elf/tests/pthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/elf/tests/pthread/Makefile')
-rw-r--r--apps/examples/elf/tests/pthread/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/examples/elf/tests/pthread/Makefile b/apps/examples/elf/tests/pthread/Makefile
index 4bea4515b..a491b9874 100644
--- a/apps/examples/elf/tests/pthread/Makefile
+++ b/apps/examples/elf/tests/pthread/Makefile
@@ -33,7 +33,6 @@
#
############################################################################
--include $(TOPDIR)/.config
-include $(TOPDIR)/Make.defs
BIN = pthread
@@ -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)