]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - tools/easylogo/Makefile
i2c, soft-i2c: switch to new multibus/multiadapter support
[karo-tx-uboot.git] / tools / easylogo / Makefile
index 292344ad0335e3f9288571eed337cbcd68b9c0f2..d8e28b0e12adae3978dd8d5959d3b98b8da5350d 100644 (file)
@@ -1,2 +1,11 @@
-all:   easylogo.c
-       gcc easylogo.c -o easylogo
+include $(TOPDIR)/config.mk
+
+all: $(obj)easylogo
+
+$(obj)easylogo: $(SRCTREE)/tools/easylogo/easylogo.c
+       $(HOSTCC) $(HOSTCFLAGS_NOPED) $(HOSTLDFLAGS) -o $@ $^
+
+clean:
+       rm -f $(obj)easylogo
+
+.PHONY: all clean