3 # C Cross Referencing & Documentation tool. Version 1.5d.
5 # Query Program Makefile.
7 # Written by Andrew M. Bishop
9 # This file Copyright 1995,96,99,2000,01,02 Andrew M. Bishop
10 # It may be distributed under the GNU Public License, version 2, or
11 # any higher version. See section COPYING of the GNU Public license
12 # for conditions under which this file may be redistributed.
20 # The installation locations
23 exec_prefix=@
exec_prefix@
24 bindir=$(DESTDIR
)@
bindir@
25 mandir=$(DESTDIR
)@
mandir@
27 # The installation program.
31 # The C compiler and linker
46 programs
: cxref-query
52 ..
/memory.o ..
/slist.o
56 cxref-query
: $(OBJ_FILES
)
57 $(LD
) $(LDFLAGS
) $(OBJ_FILES
) -o
$@
$(LIBRARY
)
62 $(INSTALL
) -m
755 cxref-query
$(bindir)
63 $(INSTALL
) -m
644 $(srcdir)/README.man
$(mandir)/man1
/cxref-query
.1
65 install-win32
: cxref-query
66 $(INSTALL
) -m
755 cxref-query.exe
$(bindir)
71 -rm -f cxref-query core
*.o
*~
84 $(CC
) -c
$(CFLAGS
) $< -o
$@
$(INCLUDE
)
86 query.o
: query.c query.h ..
/cxref.h ..
/datatype.h ..
/memory.h
87 input.o
: input.c query.h ..
/cxref.h ..
/datatype.h ..
/memory.h
88 output.o
: output.c query.h ..
/cxref.h ..
/datatype.h ..
/memory.h
90 ..
/memory.o
: ..
/memory.c ..
/memory.h
91 cd ..
&& $(MAKE
) memory.o
93 ..
/slist.o
: ..
/slist.c ..
/cxref.h ..
/datatype.h ..
/memory.h
94 cd ..
&& $(MAKE
) slist.o