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

  1. FFLAGS = -O -fT
  2. CFLAGS = -O -fT
  3. TIME = time
  4. SIZE = size
  5.  
  6. all: single double
  7.  
  8. single: $(FORT)Fwhets
  9.     echo 10 | $(FORT)Fwhets
  10.  
  11. Fwhets: f77Fwhets
  12.     rm -f Fwhets
  13.     ln f77Fwhets Fwhets
  14.  
  15. double: $(FORT)Fwhetd
  16.     echo 10 | $(FORT)Fwhetd
  17.  
  18. Fwhetd: f77Fwhetd
  19.     rm -f Fwhetd
  20.     ln f77Fwhetd Fwhetd
  21.  
  22. f77Fwhets: second.o Fwhets.f
  23.     f77 $(FFLAGS) Fwhets.f second.o -o f77Fwhets
  24.  
  25. LLLFwhets: _second.o Fwhets.f
  26.     fortran $(FFLAGS) Fwhets.f 
  27.     forlink Fwhets.o _second.o
  28.     mv Fwhets LLLFwhets
  29.  
  30. f77Fwhetd: second.o Fwhetd.f
  31.     f77 $(FFLAGS) Fwhetd.f second.o -o f77Fwhetd
  32.  
  33. LLLFwhetd: _second.o Fwhetd.f
  34.     fortran $(FFLAGS) Fwhetd.f 
  35.     forlink Fwhetd.o _second.o
  36.     mv Fwhetd LLLFwhetd
  37.  
  38. second.o: second.c
  39.     $(CC) $(CFLAGS) -c second.c
  40.  
  41. _second.o: _second.c
  42.     $(CC) $(CFLAGS) -c _second.c
  43.  
  44. clean:
  45.     (set nonomatch; rm -f *.o $(FORT)Fwhets $(FORT)Fwhetd )
  46.