File: makefile

package info (click to toggle)
eso-midas 25.05pl1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 146,924 kB
  • sloc: ansic: 360,686; makefile: 6,231; sh: 6,002; pascal: 535; perl: 40; awk: 36; sed: 14
file content (44 lines) | stat: -rw-r--r-- 991 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# .COPYRIGHT:	Copyright (c) 1988-2011 European Southern Observatory,
#						all rights reserved
# .TYPE		make file
# .NAME		$MIDASHOME/$MIDVERS/stdred/spec/lib/makefile 
# .LANGUAGE	makefile syntax
# .ENVIRONMENT	Unix Systems. 
# .COMMENT	Compiles source files and generates "libfors.a" library.
#
# .REMARKS
#
# .AUTHOR	
# .VERSION 1.1	880831:		Implementation
# .VERSION 1.2	890104:		Generating makefile.com for VMS systems
# .VERSION 2.1  901102:         new directory structure CG.
# .VERSION 3.0  930308:         Using default.mk file
# 
# 111028	last modif

include ../../../local/default.mk


# DEFINITIONS:

C_OPT =  $(K_OPT)

CFLAGS += $(C_OPT) $(DEBUG) $(SYS) -I$(LINC) -I$(INC) -I../../utils/incl -I../../spec/incl

LIB = $(LLIBDIR)/libmos.a

OBJ = 	lnmatch.o \
	misc.o     longmos.o   mosdisp.o mosdisp2D.o

# DEPENDENCIES:
all: $(MAKEFILE_VMS) $(LIB)

$(MAKEFILE_VMS): makefile
	$(MAKE_VMS)

$(LIB): $(OBJ)
	$(AR) $(AR_OPT) $(LIB) $(OBJ) 
	$(RANLIB) $(LIB)

clean:
	rm -f $(OBJ)