diff options
Diffstat (limited to 'qemu/roms/ipxe/src/util/Makefile')
-rw-r--r-- | qemu/roms/ipxe/src/util/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qemu/roms/ipxe/src/util/Makefile b/qemu/roms/ipxe/src/util/Makefile new file mode 100644 index 000000000..4a6a7c7c6 --- /dev/null +++ b/qemu/roms/ipxe/src/util/Makefile @@ -0,0 +1,16 @@ +BLIB = ../bin/blib.a +CFLAGS = -Os + +all : hijack mucurses_test + +hijack : hijack.c + $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $< + +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 mucurses_test *.o |