aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/makefile.pd-bcc
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/makefile.pd-bcc')
-rw-r--r--externals/grill/flext/makefile.pd-bcc11
1 files changed, 6 insertions, 5 deletions
diff --git a/externals/grill/flext/makefile.pd-bcc b/externals/grill/flext/makefile.pd-bcc
index f03c6f6b..4f67e07b 100644
--- a/externals/grill/flext/makefile.pd-bcc
+++ b/externals/grill/flext/makefile.pd-bcc
@@ -38,8 +38,8 @@ CFLAGS=-6 -O2 -OS -ff -tWD
!include make-files.txt
!ifdef SNDOBJ
-SRCS=$(SRCS) flsndobj.cpp
-HDRS=$(HDRS) flsndobj.h
+SRCS=$(SRCS) $(SRCS_SNDOBJ)
+HDRS=$(HDRS) $(HDRS_SNDOBJ)
!endif
#default target
@@ -56,6 +56,9 @@ OBJS= $(SRCS:.cpp=.obj)
#.PATH.obj=$(OUTPATH)
+
+DIR="/"
+
{$(SOURCE)}.cpp.obj:
bcc32 -c $(CFLAGS) $(DEFS) $(INCPATH) -n$(OUTPATH) $<
@@ -69,13 +72,11 @@ $(OUTPATH)\$(NAME)-$(TARGET).lib:: $(OBJS)
cd $(OUTPATH)
tlib "..\$<" +$(**: = +)
cd ..
-!ifdef INSTALL
-!if "$(INSTALL)" == "yes"
+!if $d(INSTDIR) && "$(INSTDIR)" != ""
@-if not exist $(INSTDIR) mkdir $(INSTDIR)
copy $< $(INSTDIR) >nul
copy $(SOURCE)\*.h $(INSTDIR) >nul
!endif
-!endif