aboutsummaryrefslogtreecommitdiff
path: root/threadlib/src/Makefile_mingw
diff options
context:
space:
mode:
authorGeorg Holzmann <grholzi@users.sourceforge.net>2005-11-20 21:29:12 +0000
committerGeorg Holzmann <grholzi@users.sourceforge.net>2005-11-20 21:29:12 +0000
commit171485daa08e97782c05b3ca7490e6e42b827197 (patch)
tree373ba2e33f38e4435a93f457aeddb85cd88744a6 /threadlib/src/Makefile_mingw
parent3cef5d2ec589e3da66a66b27d7521af096bd9300 (diff)
version 0.1
svn path=/trunk/externals/grh/; revision=3989
Diffstat (limited to 'threadlib/src/Makefile_mingw')
-rwxr-xr-xthreadlib/src/Makefile_mingw22
1 files changed, 10 insertions, 12 deletions
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: