diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-02 04:37:31 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2003-01-02 04:37:31 +0000 |
commit | 10e0265429983876e2fd69950df4d51c8faf5635 (patch) | |
tree | 3e1c45e40bedd1b92225696ce955b902c4daf8e0 /externals/grill/flext/tutorial/makefile.pd-msvc | |
parent | 59e66762250fe61d570c5baf6c9ce6896a09e027 (diff) |
""
svn path=/trunk/; revision=316
Diffstat (limited to 'externals/grill/flext/tutorial/makefile.pd-msvc')
-rw-r--r-- | externals/grill/flext/tutorial/makefile.pd-msvc | 58 |
1 files changed, 29 insertions, 29 deletions
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 |