Skip to content
Snippets Groups Projects
Commit 0a3b2bf2 authored by slevy's avatar slevy
Browse files

Really don't need this antique Makefile.sgi now.

parent 1ba6f59c
No related branches found
No related tags found
No related merge requests found
# Generated automatically from Makefile.in by configure.
# Makefile for partiview
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment