X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/c43bc43891ee5fad288ca72f101878bd84164845..81148fa15713ee68be49610206526d0725a5868f:/tools/Makefile?ds=sidebyside diff --git a/tools/Makefile b/tools/Makefile index 35f37d4..df15340 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -1,2 +1,6 @@ -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)