makefile 900 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. 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. FontDialog.cs \
  28. ColorDialog.cs \
  29. ComboBox.cs \
  30. MessageBox.cs \
  31. MessageBoxButtons.cs \
  32. MenuItem.cs \
  33. MainMenu.cs \
  34. ScrollableControl.cs
  35. all: demo.exe
  36. demo.exe: demo.cs System.Windows.Forms.dll
  37. $(CSC) demo.cs -r System.Windows.Forms.dll -r System.Drawing
  38. System.Windows.Forms.dll: $(SOURCES)
  39. $(CSC) $(SWFF) --target library -o System.Windows.Forms.dll $(SOURCES)