david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/util/Makefile

17 lines
332 B
Makefile

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