mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
(sorry for making this all one commit)
Fiddled with the backbone for scripts some more. VCS are now suppported in sets but configuration/non-svn-systems missing Linux build now uses precompiled headers (build time--) A couple warning fixes too. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1427 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
rm Makefile.am;
|
||||
echo "
|
||||
echo '
|
||||
#+----------------------------------------------------------------------------+
|
||||
#| Description: Magic Set Editor - Program to make Magic (tm) cards |
|
||||
#| Copyright: (C) 2001 - 2008 Twan van Laarhoven and \"coppro\" |
|
||||
#| Copyright: (C) 2001 - 2008 Twan van Laarhoven and "coppro" |
|
||||
#| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
#+----------------------------------------------------------------------------+
|
||||
|
||||
@@ -12,13 +12,30 @@ echo "
|
||||
AUTOMAKE_OPTIONS = subdir-objects
|
||||
|
||||
bin_PROGRAMS = magicseteditor
|
||||
AM_CXXFLAGS = @WX_CXXFLAGS@ \$(BOOST_CXXFLAGS) -DUNICODE -I . -Wall
|
||||
AM_LDFLAGS = @WX_LIBS@ \$(BOOST_LDFLAGS)
|
||||
AM_CXXFLAGS = @WX_CXXFLAGS@ $(BOOST_CXXFLAGS) -DUNICODE -I . -Wall
|
||||
AM_LDFLAGS = @WX_LIBS@ $(BOOST_LDFLAGS)
|
||||
|
||||
magicseteditor_LDADD = \$(BOOST_REGEX_LIB)
|
||||
.hpp.gch:
|
||||
target=`echo $@ | sed "s|.gch$$|.hpp|"`;\
|
||||
depbase=`echo $$target | sed "s|[^/]*\$$|$(DEPDIR)/&|;s|\\.hpp\$$||"`;\
|
||||
$(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpch -c $$target &&\
|
||||
$(am__mv) $$depbase.Tpch $$depbase.Pch
|
||||
touch $@
|
||||
.gch.o:
|
||||
gcc -x c - -c -o $@ <<<""
|
||||
|
||||
magicseteditor_SOURCES =
|
||||
magicseteditor_LDADD = $(BOOST_REGEX_LIB)
|
||||
magicseteditor_CXXFLAGS = -fpch-deps $(AM_CXXFLAGS)
|
||||
magicseteditor_SOURCES =
|
||||
|
||||
# The script used to generate is MakeAM.sh " > Makefile.am;
|
||||
if GLIBCPP_BUILD_PCH
|
||||
clean-local:
|
||||
rm -f ./src/util/prec.hpp.gch
|
||||
rm -f ./src/util/prec.gch
|
||||
include ./src/util/$(DEPDIR)/prec.Pch
|
||||
magicseteditor_SOURCES += ./src/util/prec.gch
|
||||
endif
|
||||
|
||||
# The script used to generate is MakeAM.sh' > Makefile.am;
|
||||
|
||||
find . -name *.cpp | sed "s/\./magicseteditor_SOURCES += ./" >> Makefile.am;
|
||||
|
||||
Reference in New Issue
Block a user