diff options
Diffstat (limited to 'vendor/x11iraf/cdl/examples/Makefile.generic')
-rw-r--r-- | vendor/x11iraf/cdl/examples/Makefile.generic | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/vendor/x11iraf/cdl/examples/Makefile.generic b/vendor/x11iraf/cdl/examples/Makefile.generic new file mode 100644 index 00000000..fae978aa --- /dev/null +++ b/vendor/x11iraf/cdl/examples/Makefile.generic @@ -0,0 +1,102 @@ +# +# Generic Makefile for CDL Example tasks. +# + + CDEBUGFLAGS = -g + FCFLAGS = -g + RM = rm + CDLDIR = ../ + INCLUDES = -I. -I$(CDLDIR) + LDFLAGS = -L$(CDLDIR) + LIBS = -lcdl + + LDLIBS = + +all:: display mosaic tvmark fdisplay ftvmark + +.c.o: + $(RM) -f $@ + $(CC) -c $(INCLUDES) $(CFLAGS) $*.c + +.f.o: + $(RM) -f $@ + $(FC) -c $(FCFLAGS) $*.f + +display: display.o ../libcdl.a + $(RM) -f $@ + $(CC) -o $@ display.o $(LDFLAGS) $(LDOPTIONS) $(LIBS) $(LDLIBS) -lm + +clean:: + $(RM) -f display + +mosaic: mosaic.o ../libcdl.a + $(RM) -f $@ + $(CC) -o $@ mosaic.o $(LDFLAGS) $(LDOPTIONS) $(LIBS) $(LDLIBS) -lm + +clean:: + $(RM) -f mosaic + +tvmark: tvmark.o ../libcdl.a + $(RM) -f $@ + $(CC) -o $@ tvmark.o $(LDFLAGS) $(LDOPTIONS) $(LIBS) $(LDLIBS) -lm + +clean:: + $(RM) -f tvmark + +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) -f fdisplay ftvmark + +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 + +# DO NOT DELETE |