Newer
Older
# Generated automatically from Makefile.in by configure.
# Makefile for partiview
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
SHELL = /bin/sh
# TARGET
TARGET = partiview
FLTK_INC = -I/usr/local/include
FLTK_LIB = -L/usr/local/virdir/fltk-1.0.9/lib -lfltk
GL_LIB = -L/usr/local/lib/Mesa
KIRA_INC = -I../..
KIRA_LIB = -L/home/starlab/3.6/lib -ltdyn -ldyn -lnode -lstd
# FLAGS and BINARIES
DEFS = -DNOCAVE -Dunix -DUSE_KIRA ## -DUSE_IEEEIO
INCL = ${FLTK_INC} -I/usr/X11R6/include ${KIRA_INC}
CC = cc -woff 1174
CFLAGS = -c ${OPT} ${DEFS} ${INCL}
CXXFLAGS = ${CFLAGS}
## OTYPE = -n32 -mips3
#OPT = -g3 -Ofast ${OTYPE}
OPT = -g -O2 ${OTYPE}
LINK = ${CXX}
LIBS = ${KIRA_LIB} ${FLTK_LIB} ${GL_LIB} -lGL -lGLU -L/usr/X11R6/lib -lX11 -lXext -lm
APP_CSRCS = geometry.c partibrains.c mgtexture.c textures.c findfile.c sfont.c
APP_CXXSRCS = partiview.cpp partiviewc.cpp partipanel.cpp Gview.cpp Hist.cpp # parti-ieee.cpp
APP_OBJS = partiview.o partiviewc.o partipanel.o Gview.o Hist.o \
geometry.o partibrains.o \
mgtexture.o textures.o futil.o findfile.o sfont.o ${MORE}
all: $(TARGET)
help:
@echo XLIBS= -L/usr/X11R6/lib -lSM -lICE -lXext -lX11
clean:
rm -f *.o $(TARGET)
$(TARGET): $(APP_OBJS)
$(CXX) -o $@ $(OPT) $(APP_OBJS) $(LIBS)
ptest: ptest.o
$(CXX) -o $@ $(OPT) ptest.o $(LIBS)
dometest: dometest.o geometry.o
$(CXX) -o $@ $(OPT) dometest.o geometry.o $(LIBS)
.PHONEY: depend
# dep: depend
# depend: _always
depend:
rm -f Makedepend
${CC} -M ${CFLAGS} ${APP_CSRCS} > Makedepend
${CXX} -M ${CXXFLAGS} ${APP_CXXSRCS} >> Makedepend
_always:
.SUFFIXES: .o .cpp
.cpp.o:
${CXX} -c ${CXXFLAGS} $*.cpp
include Makedepend