X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/99970893290223f2006c3a0c6f34ab9eaf5cb4c9..c34aba053b84fc15e91e96e04291d911bcd2adb0:/tools/Makefile?ds=inline diff --git a/tools/Makefile b/tools/Makefile index 35f37d4..1cd4d81 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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