]> Joshua Wise's Git repositories - netwatch.git/blobdiff - tools/Makefile
slight grubload cleanups; use __RAW__ defined by build scripts instead of __linux__
[netwatch.git] / tools / Makefile
index 35f37d45eac03b2bdb1f9f43ac0fea3783de7431..1cd4d812ef0b34cdc78a231996164d415504abff 100644 (file)
@@ -1,2 +1,9 @@
-smram-ich2: smram-linux-tool.c ../pci/pci-linux.c ../ich2/smram-ich2.c 
-       gcc -o smram-ich2 smram-linux-tool.c ../pci/pci-linux.c ../ich2/smram-ich2.c 
+CFLAGS=-I../include
+CC=gcc
+SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.o
+
+smram-ich2: $(SMRAM_ICH2_OBJS)
+       gcc -o smram-ich2 $(SMRAM_ICH2_OBJS)
+
+clean:
+       rm -f $(SMRAM_ICH2_OBJS) smram-ich2
This page took 0.024502 seconds and 4 git commands to generate.