| 1 |
# @(#)makefile 19.1 (ESO-IPG) 02/25/03 14:32:27 |
| 2 |
# .COPYRIGHT: Copyright (c) 1988 European Southern Observatory, |
| 3 |
# all rights reserved |
| 4 |
# .TYPE make file |
| 5 |
# .NAME $MIDASHOME/$MIDVERS/system/vms/tapeio |
| 6 |
# .LANGUAGE makefile syntax |
| 7 |
# .ENVIRONMENT Unix Systems. |
| 8 |
# .COMMENT Compiles source files and generates "" commands |
| 9 |
# |
| 10 |
# .REMARKS |
| 11 |
# .AUTHOR Carlos Guirao. |
| 12 |
# .VERSION 1.1 891008: Implementation |
| 13 |
# .VERSION 3.0 930308: Using default.mk file |
| 14 |
|
| 15 |
include ../../../local/default.mk |
| 16 |
|
| 17 |
M = ../../../exec |
| 18 |
|
| 19 |
OUT = $(M)/rtape.exe $(M)/wtape.exe |
| 20 |
|
| 21 |
OBJ= dclist.o iodev.o |
| 22 |
|
| 23 |
# DEPENDENCIES: |
| 24 |
all: $(MAKEFILE_VMS) $(OUT) |
| 25 |
|
| 26 |
$(MAKEFILE_VMS): makefile |
| 27 |
$(MAKE_VMS) |
| 28 |
|
| 29 |
rtape.o: rtape.for |
| 30 |
wtape.o: wtape.for |
| 31 |
|
| 32 |
$(M)/rtape.exe: rtape.o $(OBJ) |
| 33 |
$(LD77) rtape.o $(OBJ) -o $@ |
| 34 |
$(STRIP) $@ |
| 35 |
|
| 36 |
$(M)/wtape.exe: wtape.o $(OBJ) |
| 37 |
$(LD77) wtape.o $(OBJ) -o $@ |
| 38 |
$(STRIP) $@ |
| 39 |
|
| 40 |
clean: |
| 41 |
rm -f *.o *.f |