2 ## SUMMARY: Makefile for the OO-Browser
4 ## AUTHOR: Bob Weiner / Martin Buchholz
7 ## ORIG-DATE: 15-Oct-90
8 ## LAST-MOD: 19-Oct-96 at 00:53:29 by Bob Weiner
10 ## Copyright (C) 1990-1999 BeOpen.com
11 ## See the file BR-COPY for license information.
13 ## This file is part of the OO-Browser.
16 #include "../../../src/config.h"
21 ## ==================== Things "configure" will edit ====================
29 INSTALL_PROGRAM = @INSTALL_PROGRAM@
31 c_switch_all=@c_switch_all@
32 ld_switch_all=@ld_switch_all@
33 ld_libs_all=@ld_libs_all@
37 cflags = -I${build_top}/src $(CPPFLAGS) $(c_switch_all)
38 ldflags = $(ld_switch_all) -lXaw $(ld_libs_all)
48 usleep_objs = usleep.o
52 objs = draw.o tree.o input.o dissolve.o dbl.o intf.o $(usleep_objs)
57 $(CC) $(CFLAGS) $(LDFLAGS) $(objs) $(ldflags) -o $@
64 $(CC) $(CFLAGS) $(cflags) -c $<
67 ../../lib-src/make-path ${archlibdir}
68 for file in $(progs); do \
69 (cd ../.. && $(INSTALL_PROGRAM) pkg-src/tree-x/$${file} ${archlibdir}/$${file}) ; \
72 .PHONY: mostlyclean clean distclean realclean extraclean
78 $(RM) Makefile Makefile.in TAGS
88 dissolve.o: dissolve.h
89 draw.o: dissolve.h defs.h tree.h dbl.h intf.h
90 input.o: defs.h tree.h input.h dbl.h intf.h
91 intf.o: defs.h tree.h dbl.h intf.h rsrc.h input.h help.h dissolve.h
92 tree.o: defs.h tree.h dbl.h intf.h