Pick up the gPXE include files when building prototester.
authorMichael Brown <mcb30@etherboot.org>
Thu, 23 Mar 2006 21:35:20 +0000 (21:35 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 23 Mar 2006 21:35:20 +0000 (21:35 +0000)
src/util/Makefile

index 97dec04..21c7b96 100644 (file)
@@ -7,7 +7,7 @@ hijack : hijack.c
        $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $<
 
 prototester.o : prototester.c
-       $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $<
+       $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $< -idirafter ../include
 
 prototester : prototester.o $(BLIB)
        $(CC) -o $@ $< -lc $(BLIB)