| 1 |
# test/graphics/Makefile.in -*- Makefile -*- |
| 2 |
# $Id: Makefile.in,v 1.2 2003/11/24 17:31:28 pcg Exp $ |
| 3 |
@MCOMMON@ |
| 4 |
|
| 5 |
srcdir = @srcdir@ |
| 6 |
VPATH = @srcdir@ |
| 7 |
.PATH: @srcdir@ |
| 8 |
|
| 9 |
basedir = ../.. |
| 10 |
thisdir = src/graphics |
| 11 |
|
| 12 |
first_rule: qplot |
| 13 |
dummy: |
| 14 |
|
| 15 |
SRCS = grxlib.c qplot.c |
| 16 |
OBJS = grxlib.o qplot.o |
| 17 |
HDRS = grxlib.h |
| 18 |
|
| 19 |
# |
| 20 |
# Distribution variables |
| 21 |
# |
| 22 |
|
| 23 |
DIST = $(HDRS) $(SRCS) README data Makefile.in |
| 24 |
|
| 25 |
# inference rules |
| 26 |
.c.o: |
| 27 |
$(COMPILE) -I$(srcdir)/.. -c $< |
| 28 |
|
| 29 |
#------------------------------------------------------------------------- |
| 30 |
all: |
| 31 |
|
| 32 |
graphics: qplot |
| 33 |
|
| 34 |
qplot: $(OBJS) |
| 35 |
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -lm |
| 36 |
|
| 37 |
tags: $(SRCS) |
| 38 |
ctags $(SRCS) |
| 39 |
|
| 40 |
alldoc: |
| 41 |
|
| 42 |
allbin: qplot |
| 43 |
|
| 44 |
clean: |
| 45 |
$(RMF) qplot core a.out *.o *.bak *~ |
| 46 |
|
| 47 |
realclean: clean |
| 48 |
$(RMF) tags |
| 49 |
|
| 50 |
cleandir: realclean |
| 51 |
|
| 52 |
distclean: |
| 53 |
(cd $(srcdir); $(RMF) qplot *~ *.o core a.out) |
| 54 |
if test $(srcdir) = .; then $(MAKE) realclean; fi |
| 55 |
(cd $(srcdir); $(RMF) Makefile) |
| 56 |
|
| 57 |
install uninstall: |
| 58 |
|
| 59 |
distdirs: |
| 60 |
mkdir $(basedir)/../$(VERNAME)/$(thisdir) |
| 61 |
|
| 62 |
distcopy: |
| 63 |
$(CP) -p $(DIST) $(basedir)/../$(VERNAME)/$(thisdir) |
| 64 |
|
| 65 |
# ----------------------------------------------------------------------- |
| 66 |
# forget dependencies, there are too few |