From d62e56f4df9594f72ce501f5e19c974fd18e7295 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 22 Oct 2002 23:07:10 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r186, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=187 --- externals/grill/flext/tutorial/makefile.pd-msvc | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 externals/grill/flext/tutorial/makefile.pd-msvc (limited to 'externals/grill/flext/tutorial/makefile.pd-msvc') diff --git a/externals/grill/flext/tutorial/makefile.pd-msvc b/externals/grill/flext/tutorial/makefile.pd-msvc new file mode 100644 index 00000000..3478cb9e --- /dev/null +++ b/externals/grill/flext/tutorial/makefile.pd-msvc @@ -0,0 +1,48 @@ +# flext - C++ layer for Max/MSP and pd (pure data) externals +# Copyright (c) 2001,2002 Thomas Grill (xovo@gmx.net) +# +# Makefile for MSVC++ +# +# +# IMPORTANT: Adjust some of the paths also in makefile-inc.msvc +# +# usage: 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 pthreadVC.lib flext_t-pdwin.lib + +# compiler definitions and flags +DEFS=/DPD /DNT /DFLEXT_THREADS + +CFLAGS=/GR /GD /G6 /Ox /MT + + +# the rest can stay untouched +# ---------------------------------------------- + +# all the source files from the package +SRCS=main.cpp +HDRS= + +# ----------------------------------------------- + +all: $(OUTPATH) $(OUTPATH)\$(NAME).dll + +$(OUTPATH): + -mkdir $(OUTPATH) + +$(OUTPATH)\$(NAME)~.dll : $(OUTPATH)\$(NAME).dll + -ren $** $< + +$(OUTPATH)\$(NAME).dll : $(DIR)\$(SRCS) + cl /c /LD $(CFLAGS) $(DEFS) $(INCPATH) $** /Fotemp.obj + link /DLL /out:$@ /INCREMENTAL:NO temp.obj $(LIBS) $(LIBPATH) + @-del $(OUTPATH)\*.exp + @-del $(OUTPATH)\*.lib + @-del temp.obj -- cgit v1.2.1