makefile 746 B

1234567891011121314151617181920212223242526272829303132333435
  1. CSC=mcs
  2. SWFF=-r gdk-sharp -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. ScrollBars.cs \
  18. HorizontalAlignment.cs \
  19. TextBoxBase.cs \
  20. TextBox.cs \
  21. CheckBox.cs \
  22. RadioButton.cs \
  23. GroupBox.cs \
  24. ProgressBar.cs \
  25. PictureBox.cs \
  26. ScrollableControl.cs
  27. all: demo.exe
  28. demo.exe: demo.cs System.Windows.Forms.dll
  29. $(CSC) demo.cs -r System.Windows.Forms.dll -r System.Drawing
  30. System.Windows.Forms.dll: $(SOURCES)
  31. $(CSC) $(SWFF) --target library -o System.Windows.Forms.dll $(SOURCES)