From 171485daa08e97782c05b3ca7490e6e42b827197 Mon Sep 17 00:00:00 2001 From: Georg Holzmann Date: Sun, 20 Nov 2005 21:29:12 +0000 Subject: version 0.1 svn path=/trunk/externals/grh/; revision=3989 --- threadlib/src/Makefile_mingw | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'threadlib/src/Makefile_mingw') diff --git a/threadlib/src/Makefile_mingw b/threadlib/src/Makefile_mingw index c110eec..21de955 100755 --- a/threadlib/src/Makefile_mingw +++ b/threadlib/src/Makefile_mingw @@ -11,25 +11,26 @@ PDPATH=c:/pd # -------------------------------------------------- -TARGET=threadlib.pd_linux +TARGET=threadlib.dll -OBJ=fifo.o callbacks.o threadlib.o sleep.o detach.o \ - join.o threadedsf.o +OBJ=fifo.o callbacks.o threadlib.o \ + sleep.o detach.o join.o CC = gcc LD = gcc -INCLUDE=-I$(PDSCR) -I. -LIB=$(PD-PATH)/bin/pd.dll -CC_FLAGS = -DPD -DWINDOWS -c -mms-bitfields \ +INCLUDE = -I$(PDSCR) -I. +LIB = $(PDPATH)/bin/pd.dll \ + c:/windows/system/pthreadGC.dll +CC_FLAGS = -DPD -DMSW -c -mms-bitfields \ -Wall -Wno-parentheses -Wno-switch -O3 \ - -funroll-loops -fomit-frame-pointer -pthread + -funroll-loops -fomit-frame-pointer LD_FLAGS = --export-dynamic -shared -o # -------------------------------------------------- -all: pd_linux +all: dll -pd_linux: $(TARGET) +dll: $(TARGET) $(TARGET): $(OBJ) $(LD) $(LD_FLAGS) $(TARGET) $(OBJ) $(LIB) @@ -54,9 +55,6 @@ detach.o: threadlib.o fifo.o detach.c join.o: threadlib.o callbacks.o join.c $(CC) $(CC_FLAGS) $(INCLUDE) join.c -threadedsf.o: threadlib.o callbacks.o threadedsf.c - $(CC) $(CC_FLAGS) $(INCLUDE) threadedsf.c - # -------------------------------------------------- clean: -- cgit v1.2.1