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