File: Imakefile

package info (click to toggle)
x11iraf 1.2-4
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 13,168 kB
  • ctags: 14,531
  • sloc: ansic: 143,143; makefile: 964; perl: 549; csh: 249; yacc: 247; fortran: 238; tcl: 199; lex: 125; lisp: 88; sh: 23; sed: 6
file content (36 lines) | stat: -rw-r--r-- 818 bytes parent folder | download
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
# 
#  IMakefile for CDL Example tasks.
# 

X11IRAFDIR = ../../
#include <../../X11IRAF.tmpl>


    CDEBUGFLAGS = -g
        FCFLAGS = -g
         CDLDIR = ../
       INCLUDES = -I. -I$(CDLDIR)
  LOCAL_LDFLAGS = -L$(CDLDIR)
           LIBS =  -lcdl


AllTarget(animate display mosaic tvmark fdisplay ftvmark)

NormalFortranObjectRule()

NormalProgramTarget(animate,animate.o,../libcdl.a,$(LIBS),-lm)
NormalProgramTarget(display,display.o,../libcdl.a,$(LIBS),-lm)
NormalProgramTarget(mosaic,mosaic.o,../libcdl.a,$(LIBS),-lm)
NormalProgramTarget(tvmark,tvmark.o,../libcdl.a,$(LIBS),-lm)

fdisplay: fdisplay.o ../libcdl.a
	f77 -o fdisplay fdisplay.o ../libcdl.a -lm $(LDLIBS)

ftvmark: ftvmark.o ../libcdl.a
	f77 -o ftvmark ftvmark.o ../libcdl.a -lm $(LDLIBS)

clean::
	$(RM) fdisplay ftvmark

DependTarget()
LintTarget()