From 5e996a0fad58778201b75ae444af9a4674e792e3 Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 1 Feb 2009 17:29:07 +0000 Subject: [PATCH] add global makefiles git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@257 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33 --- Makefile.mingw | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.unix | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 99 insertions(+), 0 deletions(-) create mode 100644 Makefile.mingw create mode 100644 Makefile.unix diff --git a/Makefile.mingw b/Makefile.mingw new file mode 100644 index 0000000..1bdb717 --- /dev/null +++ b/Makefile.mingw @@ -0,0 +1,51 @@ +########################################################### +# global Makefile for MagicSmoke, MinGW flavour +# (c) Konrad Rosenbaum, 2008-9 +########################################################### + +###### +#global configuration + +#change this if Qt is not in your PATH +QMAKE = qmake +#eg: +#QMAKE = C:/Qt-4.4.3/bin/qmake +#if you want to use a non-standard spec use something like this: +#QMAKE = qmake -spec win32-g++ + +#change this if doxygen uses a different name or is not in your PATH +DOXYGEN = doxygen + +########################################################### +# END OF CONFIGURATION +# No editable content below this line +########################################################### + +all: server client + +wob: woc + cd wob ; ../woc/woc magicsmoke.wolf + +woc: + cd woc ; $(QMAKE) + cd woc ; $(MAKE) + +server: wob + +client: wob zip + cd src ; $(QMAKE) + cd src ; $(MAKE) + +zip: + cd zip ; $(QMAKE) + cd zip ; $(MAKE) + +dist: + @echo Distribution not implemented yet + +sdoc: + $(DOXYGEN) Doxyfile-php + $(DOXYGEN) Doxyfile-cpp + +#tell Make that the rules above are symbolic: +.PHONY: woc wob server client sdoc zip \ No newline at end of file diff --git a/Makefile.unix b/Makefile.unix new file mode 100644 index 0000000..8216a2d --- /dev/null +++ b/Makefile.unix @@ -0,0 +1,48 @@ +########################################################### +# global Makefile for MagicSmoke, Unix flavour +# (c) Konrad Rosenbaum, 2008-9 +########################################################### + +###### +#global configuration + +#change this if Qt is not in your PATH +QMAKE = qmake +#eg: +#QMAKE = /usr/local/Trolltech/Qt-4.4.3/bin/qmake +#if you want to use a non-standard spec use something like this: +#QMAKE = qmake -spec linux-icc-64 + +#change this if doxygen uses a different name or is not in your PATH +DOXYGEN = doxygen + +########################################################### +# END OF CONFIGURATION +# No editable content below this line +########################################################### + +all: server client + +wob: woc + cd wob ; ../woc/woc magicsmoke.wolf + +woc: + cd woc; $(QMAKE) && $(MAKE) + +server: wob + +client: wob zip + cd src ; $(QMAKE) && $(MAKE) + +zip: + cd zip ; $(QMAKE) && $(MAKE) + +dist: + @echo Distribution not implemented yet + +sdoc: + $(DOXYGEN) Doxyfile-php + $(DOXYGEN) Doxyfile-cpp + +#tell Make that the rules above are symbolic: +.PHONY: woc wob server client sdoc zip \ No newline at end of file -- 1.7.2.5