Makefile for OpenRa.FileFormats
This commit is contained in:
19
OpenRa.FileFormats/Makefile
Normal file
19
OpenRa.FileFormats/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
CSC = gmcs
|
||||
CFLAGS = -nologo -warn:4 -debug:+ -debug:full -optimize- -codepage:utf8 -unsafe
|
||||
DEFINE = DEBUG;TRACE
|
||||
PROGRAM = OpenRa.FileFormats.dll
|
||||
LIBS = System.dll \
|
||||
System.Core.dll \
|
||||
System.Drawing.dll \
|
||||
System.Xml.dll
|
||||
TYPE = library
|
||||
DIRS = . \
|
||||
Support \
|
||||
Collections \
|
||||
Properties
|
||||
|
||||
refs := $(foreach ref, $(LIBS),-r:$(ref))
|
||||
files := $(foreach dir, $(DIRS),$(wildcard $(dir)/*.cs))
|
||||
|
||||
$(PROGRAM) :
|
||||
$(CSC) $(refs) "-out:$(PROGRAM)" $(CFLAGS) "-define:$(DEFINE)" -t:$(TYPE) $(files)
|
||||
Reference in New Issue
Block a user