home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-07-05 | 906 b | 46 lines |
- FFLAGS = -O -fT
- CFLAGS = -O -fT
- TIME = time
- SIZE = size
-
- all: single double
-
- single: $(FORT)Fwhets
- echo 10 | $(FORT)Fwhets
-
- Fwhets: f77Fwhets
- rm -f Fwhets
- ln f77Fwhets Fwhets
-
- double: $(FORT)Fwhetd
- echo 10 | $(FORT)Fwhetd
-
- Fwhetd: f77Fwhetd
- rm -f Fwhetd
- ln f77Fwhetd Fwhetd
-
- f77Fwhets: second.o Fwhets.f
- f77 $(FFLAGS) Fwhets.f second.o -o f77Fwhets
-
- LLLFwhets: _second.o Fwhets.f
- fortran $(FFLAGS) Fwhets.f
- forlink Fwhets.o _second.o
- mv Fwhets LLLFwhets
-
- f77Fwhetd: second.o Fwhetd.f
- f77 $(FFLAGS) Fwhetd.f second.o -o f77Fwhetd
-
- LLLFwhetd: _second.o Fwhetd.f
- fortran $(FFLAGS) Fwhetd.f
- forlink Fwhetd.o _second.o
- mv Fwhetd LLLFwhetd
-
- second.o: second.c
- $(CC) $(CFLAGS) -c second.c
-
- _second.o: _second.c
- $(CC) $(CFLAGS) -c _second.c
-
- clean:
- (set nonomatch; rm -f *.o $(FORT)Fwhets $(FORT)Fwhetd )
-