diff options
author | Michael Brown | 2006-03-23 14:11:41 +0100 |
---|---|---|
committer | Michael Brown | 2006-03-23 14:11:41 +0100 |
commit | eaf40883ff41d54849e55c8bfb27b41967b31a3b (patch) | |
tree | 18403adfa2af0122f6257d10b33d04ca50cd09b4 /src/util | |
parent | Add debug symbols to objects. (They will be stripped out of the final (diff) | |
download | ipxe-eaf40883ff41d54849e55c8bfb27b41967b31a3b.tar.gz ipxe-eaf40883ff41d54849e55c8bfb27b41967b31a3b.tar.xz ipxe-eaf40883ff41d54849e55c8bfb27b41967b31a3b.zip |
Add Makefile for hijack and prototester utilities.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/.cvsignore | 2 | ||||
-rw-r--r-- | src/util/Makefile | 16 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/util/.cvsignore b/src/util/.cvsignore new file mode 100644 index 00000000..18ce7e23 --- /dev/null +++ b/src/util/.cvsignore @@ -0,0 +1,2 @@ +hijack +prototester diff --git a/src/util/Makefile b/src/util/Makefile new file mode 100644 index 00000000..97dec040 --- /dev/null +++ b/src/util/Makefile @@ -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 |