GtkSharp/generator/makefile
Paolo Molaro 9df5506aba With mcs -r use either a full path name or an assembly name.
svn path=/trunk/gtk-sharp/; revision=4270
2002-05-04 09:17:01 +00:00

35 lines
617 B
Makefile

MCS=mcs
SOURCES=BoxedGen.cs \
CallbackGen.cs \
CodeGenerator.cs \
EnumGen.cs \
IGeneratable.cs \
InterfaceGen.cs \
ObjectGen.cs \
Parser.cs \
SignalHandler.cs \
Statistics.cs \
StructBase.cs \
StructGen.cs \
SymbolTable.cs
all: linux
windows: *.cs
$(CSC) /unsafe /out:codegen.exe *.cs
./codegen gtkapi.xml
linux: generated-stamp
generated-stamp: codegen.exe gtkapi.xml
mono ./codegen.exe gtkapi.xml && touch generated-stamp
unix:
@echo "'make unix' is broken for now."
install: all
@echo "Nothing to install in generator."
codegen.exe: *.cs
$(MCS) --unsafe -o codegen.exe -r System.Xml *.cs