it compiles

This commit is contained in:
Alli
2010-02-18 17:10:15 +13:00
parent 3e3276682c
commit cf8a2dd50f
9 changed files with 78 additions and 23 deletions

View File

@@ -13,48 +13,52 @@ fileformats_LIBS := $(COMMON_LIBS)
gl_SRCS := $(shell find OpenRa.Gl/ -iname '*.cs')
gl_TARGET := OpenRa.Gl.dll
gl_KIND := library
gl_KIND := library
gl_DEPS := $(fileformats_TARGET) \
thirdparty/Tao/Tao.Glfw.dll
gl_LIBS := $(COMMON_LIBS) System.Windows.Forms.dll \
thirdparty/Tao/Tao.Cg.dll thirdparty/Tao/Tao.OpenGl.dll \
thirdparty/Tao/Tao.Platform.Windows.dll
$(gl_DEPS)
game_SRCS := $(shell find OpenRa.Game/ -iname '*.cs')
game_TARGET := OpenRa.Game.exe
game_KIND := winexe
game_LIBS := $(COMMON_LIBS) System.Windows.Forms.dll $(fileformats_TARGET) $(gl_TARGET) \
game_KIND := winexe
game_DEPS := $(fileformats_TARGET)
game_LIBS := $(COMMON_LIBS) System.Windows.Forms.dll $(game_DEPS) \
thirdparty/Tao/Tao.OpenAl.dll
game_DEPS := $(fileformats_TARGET) $(gl_TARGET)
game_FLAGS := -win32icon:OpenRa.Game/OpenRa.ico
ra_SRCS := $(shell find OpenRa.Mods.RA/ -iname '*.cs')
ra_TARGET := mods/ra/OpenRa.Mods.RA.dll
ra_KIND := library
ra_LIBS := $(COMMON_LIBS) $(fileformats_TARGET) $(game_TARGET)
ra_DEPS := $(fileformats_TARGET) $(game_TARGET)
ra_LIBS := $(COMMON_LIBS) $(ra_DEPS)
cnc_SRCS := $(shell find OpenRa.Mods.Cnc/ -iname '*.cs')
cnc_TARGET := mods/cnc/OpenRa.Mods.Cnc.dll
cnc_KIND := library
cnc_LIBS := $(COMMON_LIBS) $(fileformats_TARGET) $(game_TARGET)
cnc_DEPS := $(fileformats_TARGET) $(game_TARGET)
cnc_LIBS := $(COMMON_LIBS) $(cnc_DEPS)
aftermath_SRCS := $(shell find OpenRa.Mods.Aftermath/ -iname '*.cs')
aftermath_TARGET := mods/cnc/OpenRa.Mods.Aftermath.dll
aftermath_KIND := library
aftermath_LIBS := $(COMMON_LIBS) $(fileformats_TARGET) $(game_TARGET)
aftermath_DEPS := $(fileformats_TARGET) $(game_TARGET)
aftermath_LIBS := $(COMMON_LIBS) $(aftermath_DEPS)
server_SRCS := $(shell find OpenRA.Server/ -iname '*.cs')
server_TARGET := OpenRA.Server.exe
server_KIND := winexe
server_LIBS := $(COMMON_LIBS) $(fileformats_TARGET)
server_DEPS := $(fileformats_TARGET)
server_LIBS := $(COMMON_LIBS) $(server_DEPS)
seqed_SRCS := $(shell find SequenceEditor/ -iname '*.cs')
seqed_TARGET := SequenceEditor.exe
seqed_KIND := winexe
seqed_LIBS := $(COMMON_LIBS) System.Windows.Forms.dll $(fileformats_TARGET)
seqed_DEPS := $(fileformats_TARGET)
seqed_LIBS := $(COMMON_LIBS) System.Windows.Forms.dll $(seqed_DEPS)
# -platform:x86
@@ -80,7 +84,7 @@ mods: $(ra_TARGET) $(cnc_TARGET) $(aftermath_TARGET)
server: $(server_TARGET)
seqed: $(seqed_TARGET)
all: clean server default mods seqed
.DEFAULT: all