1 # Generated automatically from Makefile.in by configure.
3 CFLAGS = -g -O2 -DDEBUG
4 OBJS = triostr.o trio.o trionan.o
6 TARGETINCS = trio.h triop.h triodef.h trionan.h triostr.h
7 LDFLAGS = -L. -ltrio -lm
15 PURIFYOPTIONS = -chain-length=16 -first-only=YES
17 # Installation settings
18 INSTALL = /usr/bin/install -c
19 INSTALL_DATA = ${INSTALL} -m 644
21 exec_prefix = ${prefix}
22 includedir = ${prefix}/include
23 libdir = ${exec_prefix}/lib
25 all: $(TARGETLIB) $(TARGET) regression
32 $(MKDIR) $(includedir)
33 $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)
34 for i in $(TARGET_INCS);do \
35 (set -x;$(INSTALL_DATA) $$i $(includedir)); \
38 pure: $(TOBJS) $(OBJS)
39 $(PURIFY) $(PURIFYOPTIONS) $(CC) $(CFLAGS) $^ $(LDFLAGS)
41 regression: regression.o $(TARGETLIB)
42 $(CC) $(CFLAGS) regression.o $(LDFLAGS) -o $@
44 example: example.o $(TARGETLIB)
45 $(CC) $(CFLAGS) example.o $(LDFLAGS) -o $@
47 compare: compare.o $(TARGETLIB)
48 $(CC) $(CFLAGS) compare.o $(LDFLAGS) -o $@
50 userdef: userdef.o $(TARGETLIB)
51 $(CC) $(CFLAGS) userdef.o $(LDFLAGS) -o $@
54 $(AR) ruv $(TARGETLIB) $(OBJS)
55 $(RANLIB) $(TARGETLIB)
58 $(GENDOC) doc/trio.cfg
61 $(ERASE) *~ core regression example $(TOBJS) $(OBJS) $(TARGET) $(TARGETLIB) example.o regression.o