Added php based registration web for Tunnel6 server - especially for free hosting...
[tunnel6.git] / client / src / makefile-win
blobe0605305adcc5af64fd5b46bfef2a89f19eb6505
1 MAKEFILE=makefile
2 MAKEDEP=$(MAKEFILE)
3 CC      =WINEPREFIX=/home/tomas/.winedevcpp/ wine ~/.winedevcpp/drive_c/Dev-Cpp/bin/gcc.exe
4 CFLAGS  =-c -s -Wall -O2 -I.
5 OBJS    =main.o tunnel.o ipv6.o tundev.o heartbeat.o proto.o sig.o config.o poll.o base64.o tun/linux.o tun/win.o
6 BIN     =t6_client.exe
8 ifneq ($(V),1)
9         Q := @
10 endif
12 # targets
13 all: $(OBJS) $(BIN)
15 clean:
16         $(Q)rm -f $(BIN) $(OBJS)
17         @printf "  CLEAN\n";
19 .c.o:
20         @printf "  CC  $(subst $(shell pwd)/,,$(@))\n";
21         $(Q)$(CC) $(CFLAGS) -c -o$@ $<
23 # explicit rules
24 $(BIN): $(OBJS) $(MAKEDEP)
25         @printf "  LD  $(subst $(shell pwd)/,,$(@))\n";
26         $(Q)$(CC) -s $(OBJS) -o $(BIN) -L"C:/Dev-Cpp/lib" -lws2_32 -O2