also more comfortable make clean && make all
This commit is contained in:
Matthias Mailänder
2013-03-30 09:59:05 +01:00
parent 2fe75b322d
commit fa8efba1b9

View File

@@ -7,12 +7,15 @@ PHONY = core tools package all mods clean distclean
.SUFFIXES:
core: game renderers mods utility tsbuild
tools: editor ralint tsbuild
package: core editor docs
package: dependencies core editor docs
mods: mod_ra mod_cnc mod_d2k
all: core tools
clean:
all: dependencies core tools
clean:
@-rm -f *.exe *.dll *.mdb mods/**/*.dll mods/**/*.mdb *.resources
distclean: clean
dependencies:
@ cp -r thirdparty/*.dll .
@ cp -r thirdparty/Tao/* .
#
# Core binaries
@@ -132,7 +135,6 @@ ralint_TARGET = RALint.exe
ralint_KIND = exe
ralint_DEPS = $(fileformats_TARGET) $(game_TARGET)
ralint_LIBS = $(COMMON_LIBS) $(ralint_DEPS)
ralint_EXTRA_CMDS = cp thirdparty/FuzzyLogicLibrary.dll .
PROGRAMS += ralint
ralint: $(ralint_TARGET)