home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / fortran / library / whets / makefile < prev    next >
Encoding:
Makefile  |  1994-07-05  |  906 b   |  46 lines

  1. FFLAGS = -O -fT
  2.  
  3. CFLAGS = -O -fT
  4.  
  5. TIME = time
  6.  
  7. SIZE = size
  8.  
  9.  
  10.  
  11. all: single double
  12.  
  13.  
  14.  
  15. single: $(FORT)Fwhets
  16.  
  17.     echo 10 | $(FORT)Fwhets
  18.  
  19.  
  20.  
  21. Fwhets: f77Fwhets
  22.  
  23.     rm -f Fwhets
  24.  
  25.     ln f77Fwhets Fwhets
  26.  
  27.  
  28.  
  29. double: $(FORT)Fwhetd
  30.  
  31.     echo 10 | $(FORT)Fwhetd
  32.  
  33.  
  34.  
  35. Fwhetd: f77Fwhetd
  36.  
  37.     rm -f Fwhetd
  38.  
  39.     ln f77Fwhetd Fwhetd
  40.  
  41.  
  42.  
  43. f77Fwhets: second.o Fwhets.f
  44.  
  45.     f77 $(FFLAGS) Fwhets.f second.o -o f77Fwhets
  46.  
  47.  
  48.  
  49. LLLFwhets: _second.o Fwhets.f
  50.  
  51.     fortran $(FFLAGS) Fwhets.f 
  52.  
  53.     forlink Fwhets.o _second.o
  54.  
  55.     mv Fwhets LLLFwhets
  56.  
  57.  
  58.  
  59. f77Fwhetd: second.o Fwhetd.f
  60.  
  61.     f77 $(FFLAGS) Fwhetd.f second.o -o f77Fwhetd
  62.  
  63.  
  64.  
  65. LLLFwhetd: _second.o Fwhetd.f
  66.  
  67.     fortran $(FFLAGS) Fwhetd.f 
  68.  
  69.     forlink Fwhetd.o _second.o
  70.  
  71.     mv Fwhetd LLLFwhetd
  72.  
  73.  
  74.  
  75. second.o: second.c
  76.  
  77.     $(CC) $(CFLAGS) -c second.c
  78.  
  79.  
  80.  
  81. _second.o: _second.c
  82.  
  83.     $(CC) $(CFLAGS) -c _second.c
  84.  
  85.  
  86.  
  87. clean:
  88.  
  89.     (set nonomatch; rm -f *.o $(FORT)Fwhets $(FORT)Fwhetd )
  90.  
  91.