nes-proj/tools/wpcapslip/Makefile

22 lines
381 B
Makefile
Raw Normal View History

2008-02-24 21:14:25 +00:00
CONTIKI=../..
CC=gcc
2017-09-01 13:45:40 +00:00
CFLAGS=-Wall -I$(CONTIKI)/os -I.
all: wpcapslip wpcapstdio Connect.class ConnectSocket.class
%.class: %.java
javac $*.java
2017-09-01 13:29:00 +00:00
vpath %.c $(CONTIKI)/os/net
2008-02-24 21:14:25 +00:00
wpcapslip: wpcapslip.o wpcap.o tcpdump.o
wpcapstdio: wpcapstdio.o wpcap.o tcpdump.o
%: %.o
$(CC) $(LDFLAGS) $^ /lib/w32api/libws2_32.a /lib/w32api/libiphlpapi.a -o $@
clean:
2017-09-01 13:29:00 +00:00
rm -f *.class *.exe *.o