mirror of
https://github.com/ipxe/ipxe
synced 2025-12-29 19:38:37 +03:00
- first check-in for mucurses_test.c
- added mucurses_test.c build targets
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
BLIB = ../bin/blib.a
|
||||
CFLAGS = -Os
|
||||
|
||||
all : hijack prototester
|
||||
all : hijack prototester mucurses_test
|
||||
|
||||
hijack : hijack.c
|
||||
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $<
|
||||
@@ -12,5 +12,11 @@ prototester.o : prototester.c
|
||||
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 *.o
|
||||
rm -f hijack prototester mucurses_test *.o
|
||||
|
||||
Reference in New Issue
Block a user