Commit 4c290347 authored by Thomas Grill's avatar Thomas Grill
Browse files

All .cpp files are now installed as header files as well, since they are...

All .cpp files are now installed as header files as well, since they are needed for FLEXT_INLINE builds.
parent 113c3204
......@@ -62,9 +62,9 @@ else
-ln -sf $(VERNAME) $(FLEXTLIB)/$(TARGETNAME)
endif
# make directories
for f in $(dir $(patsubst %,$(FLEXTINC)/%,$(HDRS))); do mkdir -p $$f; done
for f in $(dir $(patsubst %,$(FLEXTINC)/%,$(HDRS) $(SRCS))); do mkdir -p $$f; done
# install headers (each one separately as relative paths might occur)
for f in $(HDRS); do install $(SRCDIR)/$$f $(FLEXTINC)/$$f; done
for f in $(HDRS) $(SRCS); do install $(SRCDIR)/$$f $(FLEXTINC)/$$f; done
# transfer build system
# cp -rf buildsys $(FLEXTSYS)
# install build.sh $(FLEXTSYS)
......
......@@ -61,7 +61,7 @@ ifdef SHARED
else
-ln -sf $(VERNAME) $(FLEXTLIB)/$(TARGETNAME)
endif
install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
install $(patsubst %,$(SRCDIR)/%,$(HDRS) $(SRCS)) $(FLEXTINC)
# transfer build system
# cp -rf buildsys $(FLEXTSYS)
# install build.sh $(FLEXTSYS)
......
......@@ -67,9 +67,9 @@ ifdef VERNAME
ln -sf $(VERNAME) $(FLEXTLIB)/$(TARGETNAME)
endif
# make directories
for f in $(dir $(patsubst %,$(FLEXTINC)/%,$(HDRS))); do mkdir -p $$f; done
for f in $(dir $(patsubst %,$(FLEXTINC)/%,$(HDRS) $(SRCS))); do mkdir -p $$f; done
# install headers (each one separately as relative paths might occur)
for f in $(HDRS); do install $(SRCDIR)/$$f $(FLEXTINC)/$$f; done
for f in $(HDRS) $(SRCS); do install $(SRCDIR)/$$f $(FLEXTINC)/$$f; done
endif
# transfer build system
# cp -rf buildsys $(FLEXTSYS)
......
......@@ -79,6 +79,6 @@ _install_:
copy $(TARGET:.dll=.lib) $(FLEXTLIB) > nul
!endif
# copy headers
for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(FLEXTINC) > nul
for %%i in ($(HDRS) $(SRCS)) do @copy $(SRCDIR)\%%i $(FLEXTINC) > nul
# copy import libraries
for %%i in ($(PDTARGETS)) do @copy %%i $(FLEXTLIB) > nul
......@@ -49,4 +49,4 @@ $(FLEXTLIBINST):
_install_: $(FLEXTINC) $(FLEXTLIBINST)
install $(TARGET) $(FLEXTLIBINST)
install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
install $(patsubst %,$(SRCDIR)/%,$(HDRS) $(SRCS)) $(FLEXTINC)
......@@ -47,7 +47,7 @@ _install_: $(FLEXTINC) $(FLEXTLIB)
ifdef VERNAME
ln -sf $(VERNAME) $(FLEXTLIB)/$(TARGETNAME)
endif
install $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(FLEXTINC)
install $(patsubst %,$(SRCDIR)/%,$(HDRS) $(SRCS)) $(FLEXTINC)
# transfer build system
# cp -rf buildsys $(FLEXTSYS)
# install build.sh $(FLEXTSYS)
......
......@@ -49,4 +49,4 @@ _install_::
@if not exist $(subst /,\,$(FLEXTLIBINST)) -mkdir $(subst /,\,$(FLEXTLIBINST))
copy $(subst /,\,$(TARGET) $(FLEXTLIBINST))
-for %%i in ($(HDRS)) do @copy $(SRCDIR)\%%i $(subst /,\,$(FLEXTINC)) > nul
-for %%i in ($(HDRS) $(SRCS)) do @copy $(SRCDIR)\%%i $(subst /,\,$(FLEXTINC)) > nul
#
# flext - C++ layer for Max/MSP and pd (pure data) externals
# flext - C++ layer for Max and Pd (Pure data) externals
#
# Copyright (c) 2001-2013 Thomas Grill (gr@grrrr.org)
# Copyright (c) 2001-2015 Thomas Grill (gr@grrrr.org)
#
# $LastChangedRevision$
# $LastChangedDate$
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment