aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/fftease/makefile.pd-msvc
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/fftease/makefile.pd-msvc')
-rw-r--r--externals/grill/fftease/makefile.pd-msvc11
1 files changed, 6 insertions, 5 deletions
diff --git a/externals/grill/fftease/makefile.pd-msvc b/externals/grill/fftease/makefile.pd-msvc
index f842ee62..f10b2ac3 100644
--- a/externals/grill/fftease/makefile.pd-msvc
+++ b/externals/grill/fftease/makefile.pd-msvc
@@ -20,9 +20,9 @@ LIBPATH=/LIBPATH:"$(MSVCPATH)\lib" /LIBPATH:"$(PDPATH)\bin" /LIBPATH:"$(FLEXTPAT
LIBS=pd.lib flext-pdwin.lib
# compiler definitions and flags
-DEFS=/DPD
+DEFS=/DFLEXT_SYS=2
-CFLAGS=/GR- /GX- /GD /G6 /Ox
+CFLAGS=/GR- /GX- /GD /Ox
# the rest can stay untouched
# ----------------------------------------------
@@ -33,9 +33,10 @@ CFLAGS=/GR- /GX- /GD /G6 /Ox
# -----------------------------------------------
NAME=fftease
+EXT=dll
DIR=src
-all: $(OUTPATH) $(OUTPATH)\$(NAME).dll
+all: $(OUTPATH) $(OUTPATH)\$(NAME).$(EXT)
# remove build
clean:
@@ -56,9 +57,9 @@ $(OUTPATH):
cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(OUTPATH)/$@
-$(OUTPATH)\$(NAME).dll: $(OBJS)
+$(OUTPATH)\$(NAME).$(EXT): $(OBJS)
cd $(OUTPATH)
- link /DLL /out:$(NAME).dll /INCREMENTAL:NO $** $(LIBS) $(LIBPATH)
+ link /DLL /out:$(NAME).$(EXT) /INCREMENTAL:NO $** $(LIBS) $(LIBPATH)
@-del *.exp
@-del *.lib
cd ..