REFERENCES = \ $(TACO_LIBS) \ -r:System.Drawing TARGET = taco.exe WRAPPER = taco CSFLAGS = \ -debug \ -target:exe SLOT_FILES = \ slots/Electric.cs \ slots/Gear.cs \ slots/PushPull.cs CONNECTOR_FILES = \ connectors/Electric.cs THINGIES_FILES = \ thingies/Ball.cs \ thingies/Balloon.cs \ thingies/BowlingBall.cs \ thingies/ElectricThingie.cs \ thingies/HorizontalWall.cs \ thingies/MouseEngine.cs \ thingies/Switch.cs \ thingies/TacoBeam.cs \ thingies/VerticalWall.cs \ thingies/Wall.cs WIDGET_FILES = \ widgets/BoundsChangedArgs.cs \ widgets/Canvas.cs \ widgets/CanvasElement.cs \ widgets/CanvasSelection.cs \ widgets/PartsNotebook.cs \ widgets/PartsPanel.cs CORE_FILES = \ App.cs \ Connector.cs \ ConnectorManager.cs \ DistortionField.cs \ MainWindow.cs \ Part.cs \ PartManager.cs \ Slot.cs \ SpriteAnimator.cs \ Thingie.cs \ ThingieManager.cs CSFILES = \ $(SLOT_FILES) \ $(CONNECTOR_FILES) \ $(THINGIES_FILES) \ $(WIDGET_FILES) \ $(CORE_FILES) bin_SCRIPTS = $(TARGET) $(WRAPPER) $(TARGET): $(CSFILES) $(srcdir)/Defines.cs $(RESOURCEFILES) $(CSC) /out:$@ $(CSFLAGS) $(REFERENCES) $(CSFILES) $(srcdir)/Defines.cs $(WRAPPER): $(srcdir)/$(WRAPPER).in Makefile sed -e "s|\@prefix\@|$(prefix)|g" \ -e "s|\@pkglibdir\@|$(pkglibdir)|g" \ -e "s|\@bindir\@|$(bindir)|g" \ -e "s|\@target\@|$(TARGET)|g" \ -e "s|\@wrapper\@|$(WRAPPER)|g" \ -e "s|\@extragac\@|$(EXTRA_GAC_PREFIX)|g" \ -e "s|\@runtime\@|$(RUNTIME)|g" \ < $< > $@ chmod +x $(WRAPPER) $(srcdir)/Defines.cs: $(srcdir)/Defines.cs.in Makefile sed -e "s|\@version\@|$(VERSION)|" \ -e "s|\@datadir\@|$(datadir)|" \ -e "s|\@pkglibdir\@|$(pkglibdir)|" \ < $< > $@ EXTRA_DIST = \ $(CSFILES) \ $(srcdir)/Defines.cs.in \ $(WRAPPER).in CLEANFILES = \ $(TARGET) \ $(WRAPPER) \ Defines.cs