| 1 |
# .COPYRIGHT: Copyright (c) 1988-2011 European Southern Observatory, |
| 2 |
# all rights reserved |
| 3 |
# .TYPE make file |
| 4 |
# .NAME $MIDASHOME/$MIDVERS/system/ext//makefile |
| 5 |
# .LANGUAGE makefile syntax |
| 6 |
# .ENVIRONMENT Unix Systems. |
| 7 |
# .COMMENT Compiles source files and generates "esoext" command. |
| 8 |
# |
| 9 |
# .REMARKS |
| 10 |
# .AUTHOR C. Guirao |
| 11 |
# .VERSION 1.1 880831: Implementation |
| 12 |
# .VERSION 3.0 930308: Using default.mk file |
| 13 |
# |
| 14 |
# 111028 last modif |
| 15 |
|
| 16 |
include ../../local/default.mk |
| 17 |
|
| 18 |
# Optimizer removed. OSF/1 had problems with -O in the romafot package. |
| 19 |
C_OPT = $(K_OPT) |
| 20 |
|
| 21 |
M = ../exec |
| 22 |
|
| 23 |
OUT = $(M)/esoext.exe |
| 24 |
|
| 25 |
OBJ = esoext.o getline.o linetype.o idtbl.o lidtbl.o f77utl.o \ |
| 26 |
extutl.o putline.o |
| 27 |
|
| 28 |
# DEPENDENCIES: |
| 29 |
all: $(OUT) |
| 30 |
|
| 31 |
$(OUT): $(OBJ) |
| 32 |
$(LDCC) $(OBJ) -o $@ |
| 33 |
$(STRIP) $@ |
| 34 |
|
| 35 |
esoext.o putline.o linetype.o lidtbl.o: \ |
| 36 |
$(INC)/f77ext.h \ |
| 37 |
$(INC)/f77stat.h |
| 38 |
|
| 39 |
getline.o extutl.o idtbl.o f77utl.o: \ |
| 40 |
$(INC)/f77ext.h |
| 41 |
|
| 42 |
test: $(OUT) |
| 43 |
$(OUT) -f test.for |
| 44 |
|
| 45 |
clean_exec: |
| 46 |
rm -f $(OUT) |
| 47 |
|
| 48 |
clean: |
| 49 |
rm -f $(OBJ) *.f |