Makefile 311 B

1234567891011121314
  1. GOAL=tilemanager.exe
  2. SOURCES=$(wildcard *.cs)
  3. CSFLAGS=-debug -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 -r:System.Drawing
  4. RESOURCES=tiler.glade
  5. CSFLAGS+=$(foreach file,$(RESOURCES),-resource:$(file) )
  6. $(GOAL): $(SOURCES) $(RESOURCES)
  7. gmcs $(CSFLAGS) $(SOURCES) -out:$(GOAL)
  8. clean:
  9. rm -f $(GOAL)
  10. .PHONY: clean