Line | |
---|
1 | #
|
---|
2 | # Makefile for building the MixKit library
|
---|
3 | # $Id: Makefile,v 1.1 2002/09/24 16:53:54 wimmer Exp $
|
---|
4 | #
|
---|
5 |
|
---|
6 | include ../mix-config
|
---|
7 |
|
---|
8 | CORE_SRCS = mixmsg.cxx MxTimer.cxx MxCmdParser.cxx MxAsp.cxx
|
---|
9 |
|
---|
10 | MATH_SRCS = MxMat2.cxx MxMat3.cxx MxMat4.cxx \
|
---|
11 | MxMat3-jacobi.cxx MxMat4-jacobi.cxx \
|
---|
12 | MxGeom3D.cxx MxTriProject.cxx mixmops.cxx
|
---|
13 |
|
---|
14 | MODEL_SRCS = MxBlockModel.cxx MxStdModel.cxx MxSMF.cxx MxQMetric3.cxx \
|
---|
15 | MxQSlim.cxx MxStdSlim.cxx MxQMetric.cxx MxPropSlim.cxx \
|
---|
16 | MxEdgeFilter.cxx MxQMetric2.cxx MxLineModel.cxx
|
---|
17 |
|
---|
18 | DATA_SRCS = MxHeap.cxx MxRaster.cxx MxRaster-tiff.cxx
|
---|
19 |
|
---|
20 | # These modules require OpenGL or Mesa
|
---|
21 | GL_SRCS = MxArcball.cxx MxCamera.cxx MxQVis3.cxx \
|
---|
22 | MxStdRender.cxx MxGLDebug.cxx MxGLUtils.cxx
|
---|
23 |
|
---|
24 | # These modules require XForms under X11 or MFC under Win32
|
---|
25 | GUI_SRCS = MxGLPane.cxx MxStdPane.cxx
|
---|
26 |
|
---|
27 | SRCS = $(CORE_SRCS) $(MATH_SRCS) $(MODEL_SRCS) $(DATA_SRCS) \
|
---|
28 | $(GL_SRCS) $(GUI_SRCS)
|
---|
29 |
|
---|
30 | OBJS = $(SRCS:.cxx=.o)
|
---|
31 |
|
---|
32 | ########################################################################
|
---|
33 |
|
---|
34 | libmix.a: $(OBJS)
|
---|
35 | $(AR) cru libmix.a $(OBJS)
|
---|
36 | $(RANLIB) libmix.a
|
---|
37 |
|
---|
38 | clean:
|
---|
39 | -$(CLEAN)
|
---|
40 | -/bin/rm -f libmix.a
|
---|
41 | -cat /dev/null > Makefile.dep
|
---|
42 |
|
---|
43 | depend:
|
---|
44 | makedepend -f Makefile.dep -- $(ALL_CXXFLAGS) -- $(SRCS)
|
---|
45 |
|
---|
46 | -include Makefile.dep
|
---|
47 | #sinclude Makefile.dep # Alternative syntax for some makes
|
---|
Note: See
TracBrowser
for help on using the repository browser.