Add memtest support.
[syslinux-debian/hramrach.git] / gpxe / src / util / Makefile
blobd72661e21c04b4218acc84435d3f2794b65131bf
1 BLIB = ../bin/blib.a
2 CFLAGS = -Os
4 all : hijack prototester mucurses_test
6 hijack : hijack.c
7 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $<
9 prototester.o : prototester.c
10 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $< -idirafter ../include
12 prototester : prototester.o $(BLIB)
13 $(CC) -o $@ $< -lc $(BLIB)
15 mucurses_test.o : mucurses_test.c
16 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $<
18 mucurses_test : mucurses_test.o $(BLIB)
19 $(CC) -o $@ $< -lc $(BLIB)
21 clean :
22 rm -f hijack prototester mucurses_test *.o