]> Joshua Wise's Git repositories - netwatch.git/blobdiff - tools/Makefile
Add cross-compile support (for fools like me who build on OS X) to the Makefiles.
[netwatch.git] / tools / Makefile
index 7402d797f6adfd47640927cfcea6687aa9fc4347..4b0978bfd3c94bda0d2f0e0902ff8e61cd3b6f5c 100644 (file)
@@ -1,8 +1,11 @@
 CFLAGS=-I../include
 CC=gcc
 SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.noraw.o
+PCI_OBJS=pci.o ../pci/pci-linux.o
+POKE_RLS_OBJS=poke-rls.o poke-rls-asm.o ../pci/pci-linux.o
+FROB_RLS_OBJS=frob-rls.o poke-rls-asm.o ../pci/pci-linux.o
 
-all: smram-ich2 port
+all: smram-ich2 port pci poke-rls
 
 %.noraw.o: %.c
        gcc $(CFLAGS) -c -o $@ $<
@@ -13,5 +16,13 @@ smram-ich2: $(SMRAM_ICH2_OBJS)
 port: port.o
        gcc -o port port.o
 
+pci: $(PCI_OBJS)
+       gcc $(CFLAGS) -o pci $(PCI_OBJS)
+
+frob-rls: $(FROB_RLS_OBJS)
+       gcc $(CFLAGS) -o frob-rls $(FROB_RLS_OBJS)
+
 clean:
        rm -f $(SMRAM_ICH2_OBJS) smram-ich2
+
+poke:
This page took 0.026847 seconds and 4 git commands to generate.