home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.7z / ftp.whtech.com / emulators / v9t9 / linux / sources / V9t9 / Makefile.in < prev    next >
Encoding:
Makefile  |  2006-10-19  |  417 b   |  32 lines

  1.  
  2. TOP=@TOP@
  3.  
  4. SMP=$(shell uname -v | awk '{ print $$2 }')
  5. # strip twice: \n to space, space to ''
  6. HOSTOS=$(strip $(strip $(shell uname -s) ))
  7. ifeq "$(HOSTOS)-$(SMP)"  "Linux-SMP"
  8. export MAKE=make -j2
  9. else
  10. export MAKE=make
  11. endif
  12.  
  13. all clean dep compile pp: 
  14.     $(MAKE) -C source $@
  15.  
  16. distrib: forth
  17.  
  18. forth: tiasm $(OUTDIRS)
  19.     $(MAKE) -C Distrib/ROMs/Forth TOP=$(TOP)
  20.  
  21. FORCE:
  22.  
  23. tools: FORCE
  24.     $(MAKE) -C tools TOP=$(TOP)
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.