]> Joshua Wise's Git repositories - netwatch.git/blobdiff - tools/Makefile
Make the log longer, and make it faster to write to.
[netwatch.git] / tools / Makefile
index 1cd4d812ef0b34cdc78a231996164d415504abff..3bd46a56de2a618e9473fd07970abc109bd3cdef 100644 (file)
@@ -1,9 +1,27 @@
 CFLAGS=-I../include
 CC=gcc
 CFLAGS=-I../include
 CC=gcc
-SMRAM_ICH2_OBJS=smram-linux-tool.o ../pci/pci-linux.o ../ich2/smram-ich2.o
+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
+
+all: smram-ich2 port pci poke-rls
+
+%.noraw.o: %.c
+       gcc $(CFLAGS) -c -o $@ $<
 
 smram-ich2: $(SMRAM_ICH2_OBJS)
 
 smram-ich2: $(SMRAM_ICH2_OBJS)
-       gcc -o smram-ich2 $(SMRAM_ICH2_OBJS)
+       gcc $(CFLAGS) -o smram-ich2 $(SMRAM_ICH2_OBJS)
+
+port: port.o
+       gcc -o port port.o
+
+pci: $(PCI_OBJS)
+       gcc $(CFLAGS) -o pci $(PCI_OBJS)
+
+poke-rls: $(POKE_RLS_OBJS)
+       gcc $(CFLAGS) -o poke-rls $(POKE_RLS_OBJS)
 
 clean:
        rm -f $(SMRAM_ICH2_OBJS) smram-ich2
 
 clean:
        rm -f $(SMRAM_ICH2_OBJS) smram-ich2
+
+poke:
This page took 0.026156 seconds and 4 git commands to generate.