summaryrefslogtreecommitdiffstats
path: root/tools/easylogo
diff options
context:
space:
mode:
Diffstat (limited to 'tools/easylogo')
-rw-r--r--tools/easylogo/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/easylogo/Makefile b/tools/easylogo/Makefile
index 566b12506b..d8e28b0e12 100644
--- a/tools/easylogo/Makefile
+++ b/tools/easylogo/Makefile
@@ -1,8 +1,11 @@
-CFLAGS += -Wall
+include $(TOPDIR)/config.mk
-all: easylogo
+all: $(obj)easylogo
+
+$(obj)easylogo: $(SRCTREE)/tools/easylogo/easylogo.c
+ $(HOSTCC) $(HOSTCFLAGS_NOPED) $(HOSTLDFLAGS) -o $@ $^
clean:
- rm -f easylogo *.o
+ rm -f $(obj)easylogo
.PHONY: all clean
OpenPOWER on IntegriCloud