makefile 575 B

1234567891011121314151617181920212223242526
  1. CSC=mcs
  2. SWFF=-r gtk-sharp -r glib-sharp -r System.Drawing
  3. SOURCES = \
  4. AnchorStyles.cs \
  5. Application.cs \
  6. ContainerControl.cs \
  7. Button.cs \
  8. ButtonBase.cs \
  9. Control.cs \
  10. ControlEventArgs.cs \
  11. ControlEventHandler.cs \
  12. DialogResult.cs \
  13. Form.cs \
  14. IButtonControl.cs \
  15. IContainerControl.cs \
  16. Label.cs \
  17. ScrollableControl.cs
  18. all: demo.exe
  19. demo.exe: demo.cs System.Windows.Forms.dll
  20. $(CSC) demo.cs -r System.Windows.Forms.dll -r System.Drawing
  21. System.Windows.Forms.dll: $(SOURCES)
  22. $(CSC) $(SWFF) --target library -o System.Windows.Forms.dll $(SOURCES)