mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-16 22:28:59 +00:00
21 lines
385 B
Makefile
21 lines
385 B
Makefile
CONTIKI=../..
|
|
|
|
CC=gcc
|
|
CFLAGS=-Wall -I$(CONTIKI)/core -I.
|
|
|
|
all: wpcapslip wpcapstdio Connect.class ConnectSocket.class
|
|
|
|
%.class: %.java
|
|
javac $*.java
|
|
|
|
vpath %.c $(CONTIKI)/core/net
|
|
|
|
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:
|
|
rm -f *.class *.exe *.o
|