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)