diff --git a/Makefile b/Makefile index 2d6a087fef..d4b98f781e 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) @@ -169,7 +171,7 @@ utility_LIBS = $(COMMON_LIBS) $(utility_DEPS) thirdparty/ICSharpCode.Shar PROGRAMS += utility utility: $(utility_TARGET) -.PHONY: $(PHONY) $(PROGRAMS) +.PHONY: $(PHONY) $(PROGRAMS) dependencies # # Generate build rules for each target defined above in PROGRAMS diff --git a/packaging/package-all.sh b/packaging/package-all.sh index d480963592..59f3218e24 100755 --- a/packaging/package-all.sh +++ b/packaging/package-all.sh @@ -28,7 +28,7 @@ markdown DOCUMENTATION.md > DOCUMENTATION.html # List of files that are packaged on all platforms # Note that the Tao dlls are shipped on all platforms except osx and that # they are now installed to the game directory instead of placed in the gac -FILES="OpenRA.Game.exe OpenRA.Editor.exe OpenRA.TilesetBuilder.exe OpenRA.Utility.exe OpenRA.FileFormats.dll \ +FILES="OpenRA.Game.exe OpenRA.Editor.exe OpenRA.Utility.exe OpenRA.FileFormats.dll \ OpenRA.Renderer.SdlCommon.dll OpenRA.Renderer.Cg.dll OpenRA.Renderer.Gl.dll OpenRA.Renderer.Null.dll \ FreeSans.ttf FreeSansBold.ttf titles.ttf cg glsl mods/ra mods/cnc mods/d2k \ README.html CONTRIBUTING.html DOCUMENTATION.html COPYING HACKING INSTALL CHANGELOG"