summaryrefslogtreecommitdiffstats
path: root/contrib/syslinux-4.02/gpxe/src/util/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/syslinux-4.02/gpxe/src/util/Makefile')
-rw-r--r--contrib/syslinux-4.02/gpxe/src/util/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/syslinux-4.02/gpxe/src/util/Makefile b/contrib/syslinux-4.02/gpxe/src/util/Makefile
new file mode 100644
index 0000000..d72661e
--- /dev/null
+++ b/contrib/syslinux-4.02/gpxe/src/util/Makefile
@@ -0,0 +1,22 @@
+BLIB = ../bin/blib.a
+CFLAGS = -Os
+
+all : hijack prototester mucurses_test
+
+hijack : hijack.c
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $<
+
+prototester.o : prototester.c
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $< -idirafter ../include
+
+prototester : prototester.o $(BLIB)
+ $(CC) -o $@ $< -lc $(BLIB)
+
+mucurses_test.o : mucurses_test.c
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $<
+
+mucurses_test : mucurses_test.o $(BLIB)
+ $(CC) -o $@ $< -lc $(BLIB)
+
+clean :
+ rm -f hijack prototester mucurses_test *.o