aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/dynext/makefile.pd-msvc
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-10-27 19:18:54 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-10-27 19:18:54 +0000
commit150c04f382f637287266d452f500aa26a3733253 (patch)
tree08f1678d97444a1f281a4e521d415926c4af3f0b /externals/grill/dynext/makefile.pd-msvc
parentcbac2c9b257afdda7567ae04c4e4bf63d0496086 (diff)
*** empty log message ***
svn path=/trunk/; revision=2179
Diffstat (limited to 'externals/grill/dynext/makefile.pd-msvc')
-rw-r--r--externals/grill/dynext/makefile.pd-msvc60
1 files changed, 60 insertions, 0 deletions
diff --git a/externals/grill/dynext/makefile.pd-msvc b/externals/grill/dynext/makefile.pd-msvc
new file mode 100644
index 00000000..94561b3e
--- /dev/null
+++ b/externals/grill/dynext/makefile.pd-msvc
@@ -0,0 +1,60 @@
+# dyn~ - dynamic object management for PD
+#
+# Copyright (c)Thomas Grill (xovo@gmx.net)
+# For information on usage and redistribution, and for a DISCLAIMER OF ALL
+# WARRANTIES, see the file, "license.txt," in this distribution.
+#
+#
+# Makefile for MSVC++ 7
+#
+# usage:
+# to build run "make -f makefile.pd-msvc"
+#
+
+!include config-pd-msvc.txt
+
+# includes
+INCPATH=/I"$(MSVCPATH)\include" /I"$(PDPATH)\src" /I"$(FLEXTPATH)"
+LIBPATH=/LIBPATH:"$(MSVCPATH)\lib" /LIBPATH:"$(PDPATH)\bin" /LIBPATH:"$(FLEXTPATH)"
+LIBS=pd.lib flext-pdwin.lib
+
+# compiler definitions and flags
+DEFS=/DFLEXT_SYS=2
+
+CFLAGS=/EHsc /G6 /Ox /ML
+
+# the rest can stay untouched
+# ----------------------------------------------
+
+# all the source files from the package
+!include make-files.txt
+
+# -----------------------------------------------
+
+NAME=dyn~
+
+all: $(OUTPATH) $(OUTPATH)\$(NAME).dll
+
+# remove build
+clean:
+ -del /q $(OUTPATH) > nul
+ -rmdir $(OUTPATH) > nul
+
+OBJS= $(SRCS:.cpp=.obj)
+
+$(OUTPATH):
+ -mkdir $(OUTPATH) > nul
+
+{$(DIR)}.cpp{}.obj:
+ cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(OUTPATH)\$@
+
+$(OUTPATH)\$(NAME).dll: $(OBJS)
+ cd $(OUTPATH)
+ link /DLL /out:$(NAME).dll /INCREMENTAL:NO $** $(LIBS) $(LIBPATH)
+ @-del *.exp
+ @-del *.lib
+ cd ..
+!ifdef INSTPATH
+ @-if not exist $(INSTPATH) mkdir $(INSTPATH)
+ copy $@ $(INSTPATH) > nul
+!endif