makefile 544 B

12345678910111213141516171819202122232425262728
  1. DIRS= \
  2. System.Web \
  3. System.Web.Caching \
  4. System.Web.Configuration
  5. all:
  6. @echo "You must use 'make windows' or 'make unix'."
  7. @echo "'make unix' is broken for now."
  8. windows: make-list
  9. $(CSC) /target:library /out:System.Web.dll /nowarn:1595 @list
  10. unix:
  11. @echo "'make unix' is broken for now."
  12. make-list:
  13. for i in $(DIRS); do \
  14. cat $$i/common.src $$i/windows.src | sed "s/^/$$i\\\\/"; \
  15. done > list
  16. clean:
  17. if test -e list; then \
  18. rm list; \
  19. fi; \
  20. \
  21. if test -e System.Web.dll; then \
  22. rm System.Web.dll; \
  23. fi; \