summaryrefslogtreecommitdiff
path: root/polux/tools/genNVRAM/Makefile
diff options
context:
space:
mode:
authorJean-Philippe SAVE2012-02-20 16:38:56 +0100
committerJean-Philippe SAVE2012-02-20 16:38:56 +0100
commit55a15cc820e926219ebce47218ce1e2f35bb0c48 (patch)
treedba3ff39a766e47859ab7fd837d8da5d30b56b1f /polux/tools/genNVRAM/Makefile
parent1353d3215782b997fdec3f9182cbda547d92d7e9 (diff)
parentcfc4d43d4d19c398d994b75cb1eeda3c499bd234 (diff)
Add polux base by subtree merge
Diffstat (limited to 'polux/tools/genNVRAM/Makefile')
-rw-r--r--polux/tools/genNVRAM/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/polux/tools/genNVRAM/Makefile b/polux/tools/genNVRAM/Makefile
new file mode 100644
index 0000000000..ad033e2eb4
--- /dev/null
+++ b/polux/tools/genNVRAM/Makefile
@@ -0,0 +1,15 @@
+TOPDIR=../..
+LINUX_DIR=$(TOPDIR)/linux-2.6.10
+CFLAGS= -I$(TOPDIR)/include -I$(LINUX_DIR)/include -D__LINUX__
+
+all: genNVRAM
+
+debug: CFLAGS += -g
+debug: all
+
+genNVRAM: genNVRAM.c
+ $(CC) $(CFLAGS) -o $@ $<
+
+
+clean:
+ @rm *.o *~ genNVRAM -f