From 10e0265429983876e2fd69950df4d51c8faf5635 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 2 Jan 2003 04:37:31 +0000 Subject: "" svn path=/trunk/; revision=316 --- externals/grill/flext/tutorial/makefile.pd-msvc | 58 ++++++++++++------------- 1 file changed, 29 insertions(+), 29 deletions(-) (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 index 385630e0..51c3a58b 100644 --- a/externals/grill/flext/tutorial/makefile.pd-msvc +++ b/externals/grill/flext/tutorial/makefile.pd-msvc @@ -3,46 +3,46 @@ # # 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=/DFLEXT_SYS=2 /DFLEXT_THREADS +TARGETS=normal threads -CFLAGS=/GR /GD /G6 /Ox /MT +!ifdef SNDOBJ +TARGETS=$(TARGETS) sndobj +!endif +!ifdef STK +TARGETS=$(TARGETS) stk +!endif -# the rest can stay untouched -# ---------------------------------------------- +all: $(TARGETS) -# all the source files from the package -SRCS=main.cpp -HDRS= +normal: + nmake /f make-sub.pd-msvc NAME=simple1 DIR=simple1 + nmake /f make-sub.pd-msvc NAME=simple2 DIR=simple2 + nmake /f make-sub.pd-msvc NAME=simple3 DIR=simple3 + nmake /f make-sub.pd-msvc NAME=adv1 DIR=adv1 + nmake /f make-sub.pd-msvc NAME=adv2 DIR=adv2 + nmake /f make-sub.pd-msvc NAME=adv3 DIR=adv3 + nmake /f make-sub.pd-msvc NAME=attr1 DIR=attr1 + nmake /f make-sub.pd-msvc NAME=attr2 DIR=attr2 + nmake /f make-sub.pd-msvc NAME=attr3 DIR=attr3 + nmake /f make-sub.pd-msvc NAME=signal1~ DIR=signal1 + nmake /f make-sub.pd-msvc NAME=signal2~ DIR=signal2 + nmake /f make-sub.pd-msvc NAME=lib1 DIR=lib1 -# ----------------------------------------------- +threads: + nmake /f make-sub.pd-msvc NAME=thread1 DIR=thread1 + nmake /f make-sub.pd-msvc NAME=thread2 DIR=thread2 -all: $(OUTPATH) $(OUTPATH)\$(NAME).dll +sndobj: + nmake /f make-sub.pd-msvc NAME=sndobj1~ DIR=sndobj1 -$(OUTPATH): - -mkdir $(OUTPATH) +stk: + nmake /f make-sub.pd-msvc NAME=stk1~ DIR=stk1 + nmake /f make-sub.pd-msvc NAME=stk2~ DIR=stk2 -$(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