makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. CSC=mcs
  2. SWFF=-r gdk-sharp -r gtk-sharp -r glib-sharp -r System.Drawing -r gnome-sharp
  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. ScrollBar.cs \
  19. RightToLeft.cs \
  20. VScrollBar.cs \
  21. HScrollBar.cs \
  22. ScrollEventHandler.cs \
  23. ScrollEventArgs.cs \
  24. ScrollEventType.cs \
  25. HorizontalAlignment.cs \
  26. TextBoxBase.cs \
  27. TextBox.cs \
  28. CheckBox.cs \
  29. RadioButton.cs \
  30. GroupBox.cs \
  31. ProgressBar.cs \
  32. PictureBox.cs \
  33. FileDialog.cs \
  34. FontDialog.cs \
  35. ColorDialog.cs \
  36. ComboBox.cs \
  37. MessageBox.cs \
  38. MessageBoxButtons.cs \
  39. MenuItem.cs \
  40. MainMenu.cs \
  41. Shortcut.cs \
  42. PictureBoxSizeMode.cs \
  43. ScrollableControl.cs
  44. all: demo.exe Demo2.exe
  45. demo.exe: demo.cs System.Windows.Forms.dll
  46. $(CSC) demo.cs -r System.Windows.Forms.dll -r System.Drawing
  47. Demo2.exe: Demo2.cs System.Windows.Forms.dll
  48. $(CSC) Demo2.cs -r System.Windows.Forms.dll -r System.Drawing
  49. singlewidget.exe : singlewidget.cs
  50. $(CSC) singlewidget.cs -r System.Windows.Forms.dll -r System.Drawing
  51. System.Windows.Forms.dll: $(SOURCES)
  52. $(CSC) $(SWFF) --target library -o System.Windows.Forms.dll $(SOURCES)