david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Add Makefile for hijack and prototester utilities.

This commit is contained in:
Michael Brown 2006-03-23 13:11:41 +00:00
parent 21c58729ae
commit eaf40883ff
2 changed files with 18 additions and 0 deletions

2
src/util/.cvsignore Normal file
View File

@ -0,0 +1,2 @@
hijack
prototester

16
src/util/Makefile Normal file
View File

@ -0,0 +1,16 @@
BLIB = ../bin/blib.a
CFLAGS = -Os
all : hijack prototester
hijack : hijack.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $<
prototester.o : prototester.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $<
prototester : prototester.o $(BLIB)
$(CC) -o $@ $< -lc $(BLIB)
clean :
rm -f hijack prototester *.o