makefile 763 B

123456789101112131415161718192021222324252627282930313233343536
  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. FileDialog.cs \
  27. ScrollableControl.cs
  28. all: demo.exe
  29. demo.exe: demo.cs System.Windows.Forms.dll
  30. $(CSC) demo.cs -r System.Windows.Forms.dll -r System.Drawing
  31. System.Windows.Forms.dll: $(SOURCES)
  32. $(CSC) $(SWFF) --target library -o System.Windows.Forms.dll $(SOURCES)