makefile 421 B

12345678910111213141516171819
  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