From: Frank Rowand <frank.row...@sonymobile.com>

Initial version of kdmx makefile

Signed-off-by: Frank Rowand <frank.row...@sonymobile.com>

---
 kdmx/Makefile |   21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

Index: b/kdmx/Makefile
===================================================================
--- /dev/null
+++ b/kdmx/Makefile
@@ -0,0 +1,21 @@
+# Compiler
+CC := gcc
+
+# Normal compiler flags
+CFLAGS := -Wall -Wunreachable-code
+
+# Debugging
+#CFLAGS += -ggdb
+
+CFLAGS += -D_XOPEN_SOURCE
+
+%.o: %.c
+       $(CC) $(CFLAGS) -c -o $@ $<
+
+kdmx: kdmx.o
+       $(CC) -o $@ kdmx.o
+
+distclean: clean
+
+clean:
+       rm -f *.o kdmx

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to