| 1 | # @(#)makefile 19.1 (ESO-IPG) 02/25/03 14:35:23 |
| 2 | # .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, |
| 3 | # all rights reserved |
| 4 | # .TYPE make file |
| 5 | # .NAME $MIDASHOME/$MIDVERS/test/bench/makefile |
| 6 | # .LANGUAGE makefile syntax |
| 7 | # .ENVIRONMENT Unix Systems. |
| 8 | # .COMMENT Compiles source files and generates "benchmark" commands |
| 9 | # |
| 10 | # .REMARKS |
| 11 | # .AUTHOR C. Guirao |
| 12 | # .VERSION 1.1 880831: Implementation |
| 13 | # .VERSION 2.2 920521: Removing MLIB CG |
| 14 | # .VERSION 3.0 930308: Using default.mk file |
| 15 | |
| 16 | include ../../local/default.mk |
| 17 | |
| 18 | #OUT = ben_sread.exe ben_rread.exe ben_write.exe \ |
| 19 | # ben_memory.exe ben_maxmem.exe ben_fpu.exe |
| 20 | OUT = ben_fpu.exe |
| 21 | |
| 22 | # DEPENDENCIES; |
| 23 | all: $(OUT) |
| 24 | |
| 25 | ben_fpu.exe: ben_fpu.o |
| 26 | $(LDCC) ben_fpu.o $(MLIB) $(SLIB) -o $@ |
| 27 | $(STRIP) $@ |
| 28 | |
| 29 | clean: |
| 30 | rm -f *.o *.f *.exe |
| 31 | |
| 32 | run: |
| 33 | brun 2 |