# # dotGNU Project # # Makefile for dgee examples # # This software comes with ABSOLUTELY NO WARRANTY. This is free software, # and you are welcome to modify and redistribute it under the GPL licence. # # $Id$ # INSTALL = @INSTALL@ REPOSDIR = @REPOSDIR@ prefix = @prefix@ exec_prefix = @exec_prefix@/dgee LLIB = -L../cslib/DotGNU.XmlRpc -L../cslib/DotGNU.Net CSDGMX = $(prefix)/bin/csdgmx CSCC = $(prefix)/bin/cscc DLL = wstest.dll math.dll state.dll DGMX = wstest.dgmx math.dgmx state.dgmx %.dgmx: %.dll $(CSDGMX) $< %.dll: %.cs $(CSCC) $(LLIB) -lDotGNU.XmlRpc -lDotGNU.Net -shared -o $@ $< .PHONY: all dll dgmx install install-dgmx install-dll clean distclean all: dll dgmx dll: $(DLL) dgmx: $(DGMX) install: install-dgmx install-dll install-dgmx: dgmx $(INSTALL) $(DGMX) $(REPOSDIR)/index install-dll: dll $(INSTALL) $(DLL) $(REPOSDIR)/data clean: rm -rf *.dll *.obj *.dgmx distclean: clean rm -f Makefile