Merged branch with mingw port. Compiles now, tun work to do

This commit is contained in:
Erik Ekman
2009-01-24 22:19:11 +00:00
committed by Erik Ekman
parent 0836ad0a5b
commit 155f0c6f37
13 changed files with 842 additions and 52 deletions

View File

@@ -8,7 +8,8 @@ SERVER = ../bin/iodined
OS = `uname | tr "a-z" "A-Z"`
ARCH = `uname -m`
LDFLAGS = -lz `sh osflags link`
LIBPATH = -L.
LDFLAGS = -lz `sh osflags link` $(LIBPATH)
CFLAGS = -c -g -Wall -D$(OS) -pedantic `sh osflags cflags`
all: stateos $(CLIENT) $(SERVER)
@@ -32,5 +33,5 @@ $(SERVER): $(COMMONOBJS) $(SERVEROBJS)
clean:
@echo "Cleaning src/"
@rm -f $(CLIENT) $(SERVER) *~ *.o *.core
@rm -f $(CLIENT){,.exe} $(SERVER){,.exe} *~ *.o *.core