From fa8efba1b9aed89207d8f22666a9591f579d6c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 30 Mar 2013 09:59:05 +0100 Subject: [PATCH] fixes #2862 also more comfortable make clean && make all --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 2d6a087fef..e41be19248 100644 --- a/Makefile +++ b/Makefile @@ -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)