From e4991ce586558b0ff3a06b7c0c4022d2083c4d01 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 15 Apr 2003 02:41:04 +0000 Subject: "" svn path=/trunk/; revision=562 --- externals/grill/py/makefile.pd-msvc | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'externals/grill/py/makefile.pd-msvc') 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) -- cgit v1.2.1