Commit c83425dd authored by thomas's avatar thomas
Browse files

no message


git-svn-id: https://svn.grrrr.org/ext/trunk@211 4d9ac71a-51e6-0310-8455-cad1006bcd31
parent 4de754ce
......@@ -7,6 +7,10 @@
# to build run "make -f makefile.pd-cygwin"
# to install (as root), do "make -f makefile.pd-cygwin install"
#
# ---------------------------------------------
#
# compiling for threaded usage is not yet possible
#
## EDIT ZONE ##################################
......@@ -26,6 +30,7 @@ INCLUDES=$(PDPATH)
FLAGS=-DPD
CFLAGS=-O6 -mcpu=pentiumpro
CFLAGS_D=-mcpu=pentiumpro -g
CFLAGS_T=-DFLEXT_THREADS
LIBS=
......@@ -43,8 +48,10 @@ IHDRS=flinternal.h
MAKEFILE=makefile.pd-cygwin
TARGET=$(TARGDIR)/$(NAME).lib
TARGET_D=$(TARGDIR)/$(NAME)_d.lib
TARGET_T=$(TARGDIR)/$(NAME)_t.lib
TARGET_TD=$(TARGDIR)/$(NAME)_td.lib
all: $(TARGDIR) $(TARGET) $(TARGET_D)
all: $(TARGDIR) $(TARGET) $(TARGET_D) # $(TARGET_T) $(TARGET_TD)
$(TARGDIR):
mkdir $(TARGDIR)
......@@ -58,6 +65,12 @@ $(TARGDIR)/%.o : %.cpp
$(TARGDIR)/%.do : %.cpp
$(CXX) -c $(CFLAGS_D) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) .) $< -o $@
$(TARGDIR)/%.to : %.cpp
$(CXX) -c $(CFLAGS_T) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) .) $< -o $@
$(TARGDIR)/%.tdo : %.cpp
$(CXX) -c $(CFLAGS_T) $(CFLAGS_D) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) .) $< -o $@
$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
ar rc $@ $^
chmod 755 $@
......@@ -66,6 +79,14 @@ $(TARGET_D) : $(patsubst %.cpp,$(TARGDIR)/%.do,$(SRCS))
ar rc $@ $^
chmod 755 $@
$(TARGET_T) : $(patsubst %.cpp,$(TARGDIR)/%.to,$(SRCS))
ar rc $@ $^
chmod 755 $@
$(TARGET_TD) : $(patsubst %.cpp,$(TARGDIR)/%.tdo,$(SRCS))
ar rc $@ $^
chmod 755 $@
$(INSTDIR):
mkdir $(INSTDIR)
......
......@@ -26,6 +26,7 @@ INCLUDES=$(PDPATH)
FLAGS=-DPD
CFLAGS=-O6 -mcpu=pentiumpro
CFLAGS_D=-mcpu=pentiumpro -g
CFLAGS_T=-DFLEXT_THREADS
LIBS=
......@@ -44,7 +45,7 @@ MAKEFILE=makefile.pd-linux
TARGET=$(TARGDIR)/$(NAME).a
TARGET_D=$(TARGDIR)/$(NAME)_d.a
all: $(TARGDIR) $(TARGET) $(TARGET_D)
all: $(TARGDIR) $(TARGET) $(TARGET_D) $(TARGET_T) $(TARGET_TD)
$(TARGDIR):
mkdir $(TARGDIR)
......@@ -58,6 +59,12 @@ $(TARGDIR)/%.o : %.cpp
$(TARGDIR)/%.do : %.cpp
$(CXX) -c $(CFLAGS_D) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) .) $< -o $@
$(TARGDIR)/%.to : %.cpp
$(CXX) -c $(CFLAGS_T) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) .) $< -o $@
$(TARGDIR)/%.tdo : %.cpp
$(CXX) -c $(CFLAGS_T) $(CFLAGS_D) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) .) $< -o $@
$(TARGET) : $(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))
ar rc $@ $^
chmod 755 $@
......@@ -66,6 +73,14 @@ $(TARGET_D) : $(patsubst %.cpp,$(TARGDIR)/%.do,$(SRCS))
ar rc $@ $^
chmod 755 $@
$(TARGET_T) : $(patsubst %.cpp,$(TARGDIR)/%.to,$(SRCS))
ar rc $@ $^
chmod 755 $@
$(TARGET_TD) : $(patsubst %.cpp,$(TARGDIR)/%.tdo,$(SRCS))
ar rc $@ $^
chmod 755 $@
$(INSTDIR):
mkdir $(INSTDIR)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment