Makefile.svn-base 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. SHELL=sh
  2. CLASS=U
  3. NPROCS=1
  4. RCCEROOT=../..
  5. include $(RCCEROOT)/common/symbols
  6. default: header
  7. @ sys/print_instructions
  8. bt: clean header
  9. cd sys; make
  10. cd BT; $(MAKE) \
  11. CFLAGS="$(CFLAGS)" \
  12. NPROCS=$(NPROCS) \
  13. CLASS=$(CLASS) \
  14. CCOMPILE=$(CCOMPILE) \
  15. RCCEROOT=$(RCCEROOT) \
  16. RCCEINCLUDE=$(RCCEINCLUDE) \
  17. RCK_LIB_SRC=$(RCK_LIB_SRC) \
  18. RCCE_LIB_SRC=$(RCCE_LIB_SRC) \
  19. ARCHIVE=$(ARCHIVE)
  20. lu: clean header
  21. cd sys; make
  22. cd LU; $(MAKE) \
  23. CFLAGS="$(CFLAGS)" \
  24. NPROCS=$(NPROCS) \
  25. CLASS=$(CLASS) \
  26. CCOMPILE=$(CCOMPILE) \
  27. RCCEROOT=$(RCCEROOT) \
  28. RCCEINCLUDE=$(RCCEINCLUDE) \
  29. RCK_LIB_SRC=$(RCK_LIB_SRC) \
  30. RCCE_LIB_SRC=$(RCCE_LIB_SRC) \
  31. ARCHIVE=$(ARCHIVE)
  32. # It would be nice to make clean in each subdirectory (the targets
  33. # are defined) but on a really clean system this will won't work
  34. # because those makefiles need config/make.def
  35. clean:
  36. - rm -f core
  37. - rm -f *~ */core */*~ */*.o */npbparams.h */*.obj */*.exe
  38. - rm -f sys/setparams sys/makesuite sys/setparams.h
  39. - rm -f BT/bt.*.* LU/lu.*.*
  40. header:
  41. @ sys/print_header