aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/cdl/test/Makefile.generic
blob: c64c90b24bbe39ec4c45f05e55bf7871adb4174c (plain) (blame)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# Generic Makefile for CDL Test tasks.
#

        CDLDIR = ../
            RM = rm
        CFLAGS = -I. -I$(CDLDIR)
       LDFLAGS = -L$(CDLDIR)
          LIBS =  -lcdl

        LDLIBS =
 

all:: cdltest imdtest

cdltest: cdltest.o ../libcdl.a
	$(RM) -f $@
	$(CC) -o $@ cdltest.o $(LDFLAGS) $(LDOPTIONS) $(LIBS) $(LDLIBS) -lm

clean::
	$(RM) -f cdltest

imdtest: imdtest.o ../libcdl.a
	$(RM) -f $@
	$(CC) -o $@ imdtest.o $(LDFLAGS) $(LDOPTIONS) $(LIBS) $(LDLIBS) -lm

clean::
	$(RM) -f imdtest

depend::

lint:
	$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
	$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)

clean::
	$(RM) -f *.o

# -------------------------------------------------------------------------
# common rules for all Makefiles - do not edit

emptyrule::

Makefile::
	-@if [ -f Makefile ]; then set -x; \
	$(RM) -f Makefile.bak; $(MV) Makefile Makefile.bak; \
	else exit 0; fi
	$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)

tags::
	$(TAGS) -w *.[ch]
	$(TAGS) -xw *.[ch] > TAGS

saber:
	# load $(ALLDEFINES) $(SRCS)

osaber:
	# load $(ALLDEFINES) $(OBJS)

# -------------------------------------------------------------------------
# empty rules for directories that do not have SUBDIRS - do not edit

install::
	@echo "install in $(CURRENT_DIR) done"

install.man::
	@echo "install.man in $(CURRENT_DIR) done"

Makefiles::

includes::

# -------------------------------------------------------------------------
# dependencies generated by makedepend