Link correctly on mingw

This commit is contained in:
Ryan Dahl 2011-05-07 21:30:32 -07:00
parent dd1c0af7b1
commit 520e5abc7d
2 changed files with 1 additions and 3 deletions

View File

@ -20,12 +20,11 @@
CFLAGS=-g --std=gnu89
LINKFLAGS=-lm
LIBS = -lws2_32
TESTS=test/echo-server.c test/test-*.c
BENCHMARKS=test/echo-server.c test/benchmark-*.c
RUNNER_CFLAGS=$(CFLAGS) -D_GNU_SOURCE # Need _GNU_SOURCE for strdup?
RUNNER_LINKFLAGS=$(LINKFLAGS)
RUNNER_LINKFLAGS=$(LINKFLAGS) -lws2_32
RUNNER_SRC=test/runner-win.c
oio.a: oio-win.o

View File

@ -20,7 +20,6 @@
CFLAGS=--std=gnu89 -g
LINKFLAGS=-lm
LIBS=
TESTS=test/echo-server.c test/test-*.c
BENCHMARKS=test/echo-server.c test/benchmark-*.c