diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-10-02 02:38:04 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-10-02 02:38:04 +0000 |
commit | 6031998a44a8f34f67bc6dd6bcc1e37caa53a830 (patch) | |
tree | dce331eeb1419cc91c8c4a7de38671019c513790 /externals/grill/py/makefile.pd-msvc | |
parent | 8ca3e84c227e99b2e98c4310ae3209a8a10949e3 (diff) |
""
svn path=/trunk/; revision=1057
Diffstat (limited to 'externals/grill/py/makefile.pd-msvc')
-rw-r--r-- | externals/grill/py/makefile.pd-msvc | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/externals/grill/py/makefile.pd-msvc b/externals/grill/py/makefile.pd-msvc index 46f569a3..d33f0cb7 100644 --- a/externals/grill/py/makefile.pd-msvc +++ b/externals/grill/py/makefile.pd-msvc @@ -1,7 +1,7 @@ # py/pyext - python script object for PD and Max/MSP -# Copyright (C) 2002 Thomas Grill (xovo@gmx.net) +# Copyright (C)2002,03 Thomas Grill (xovo@gmx.net) # -# Makefile for MSVC++ 6 +# Makefile for MSVC++ 6 and 7 # # usage: # to build run "make -f makefile.pd-msvc" @@ -12,12 +12,24 @@ # includes INCPATH=/I"$(MSVCPATH)\include" /I"$(PYTHONINCLUDE)" /I"$(PDPATH)\src" /I"$(FLEXTPATH)" LIBPATH=/LIBPATH:"$(MSVCPATH)\lib" /LIBPATH:"$(PDPATH)\bin" /LIBPATH:"$(FLEXTPATH)" -LIBS=pd.lib pthreadVC.lib flext_t-pdwin.lib $(PYTHONLIB) # compiler definitions and flags DEFS=/DFLEXT_SYS=2 /DFLEXT_THREADS +CFLAGS=/MT $(UFLAGS) + +# for VC7 +CFLAGS=$(CFLAGS) /EHsc + + +LIBS=pd.lib pthreadVC.lib $(PYTHONLIB) + +!ifdef FLEXT_SHARED +LIBS=$(LIBS) flext_t-pdwin.lib +DEFS=$(DEFS) /DFLEXT_SHARED +!else +LIBS=$(LIBS) flext_t-pdwin.lib +!endif -CFLAGS=/GR- /GX- /GD /G6 /Ox /MT # the rest can stay untouched # ---------------------------------------------- |