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