aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/makefile.pd-msvc
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-04-15 02:41:04 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-04-15 02:41:04 +0000
commite4991ce586558b0ff3a06b7c0c4022d2083c4d01 (patch)
tree96e5d97482a50ae760cd9bdc8ea8401bd1bf6648 /externals/grill/py/makefile.pd-msvc
parentc58149336328a7c05d9c713368d30ea30ec0ac1b (diff)
""
svn path=/trunk/; revision=562
Diffstat (limited to 'externals/grill/py/makefile.pd-msvc')
-rw-r--r--externals/grill/py/makefile.pd-msvc14
1 files changed, 5 insertions, 9 deletions
diff --git a/externals/grill/py/makefile.pd-msvc b/externals/grill/py/makefile.pd-msvc
index 921a7a8d..46f569a3 100644
--- a/externals/grill/py/makefile.pd-msvc
+++ b/externals/grill/py/makefile.pd-msvc
@@ -15,21 +15,17 @@ LIBPATH=/LIBPATH:"$(MSVCPATH)\lib" /LIBPATH:"$(PDPATH)\bin" /LIBPATH:"$(FLEXTPAT
LIBS=pd.lib pthreadVC.lib flext_t-pdwin.lib $(PYTHONLIB)
# compiler definitions and flags
-DEFS=/DPD /DNT /DFLEXT_THREADS
+DEFS=/DFLEXT_SYS=2 /DFLEXT_THREADS
CFLAGS=/GR- /GX- /GD /G6 /Ox /MT
# the rest can stay untouched
# ----------------------------------------------
-# all the source files from the package
-SRCS= main.cpp py.cpp pyext.cpp modmeth.cpp clmeth.cpp register.cpp pyargs.cpp bound.cpp
-HDRS= main.h pyext.h
-
-# -----------------------------------------------
-
NAME=py
-DIR=source
+
+# all the source files from the package
+!include make-files.txt
all: $(OUTPATH) $(OUTPATH)\$(NAME).dll
@@ -43,7 +39,7 @@ OBJS= $(SRCS:.cpp=.obj)
$(OUTPATH):
-mkdir $(OUTPATH) > nul
-{$(DIR)}.cpp{}.obj:
+{$(SRCDIR)}.cpp{}.obj:
cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fo$(OUTPATH)\$@
$(OUTPATH)\$(NAME).dll: $(OBJS)