summaryrefslogtreecommitdiffstats
path: root/qemu/roms/ipxe/src/util/Makefile
blob: 4a6a7c7c6e3a58d0e271044b686a9172a58432f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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