mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
e94fcf41dc
X Window System. The goal is simple: Don't get killed. PR: 13267 Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
32 lines
761 B
Makefile
32 lines
761 B
Makefile
SRCS = Glasteroids.cxx Bobcat.cxx MarchingCubes.cxx BCship.cxx BCobject.cxx\
|
|
BCcollide.cxx GlutFunctions.cxx BCmenu.cxx BCenemy.cxx TexFont.cxx \
|
|
SplashScreen.cxx
|
|
OBJS = Glasteroids.o Bobcat.o MarchingCubes.o BCship.o BCobject.o\
|
|
BCcollide.o GlutFunctions.o BCmenu.o BCenemy.o TexFont.o \
|
|
SplashScreen.o
|
|
CXX ?= c++
|
|
PROG = Glasteroids
|
|
|
|
LIBES = -lglut -lMesaGLU -lMesaGL -lXmu -lX11 -lXext -lm -lXi
|
|
|
|
INCDIR = -I/usr/X11R6/include
|
|
LIBDIR = -L/usr/X11R6/lib
|
|
|
|
PREFIX ?= /usr/X11R6
|
|
|
|
.SUFFIXES: .cxx .o
|
|
|
|
.cxx.o:
|
|
$(CXX) $(CXXFLAGS) -DPREFIX=\"${PREFIX}\" -c $< $(INCDIR)
|
|
|
|
all: $(PROG)
|
|
|
|
$(PROG): $(OBJS)
|
|
$(CXX) -o $(PROG) -Wall $(OBJS) $(LIBDIR) $(LIBES)
|
|
|
|
clean:
|
|
rm -f *.o *~ $(PROG)
|
|
|
|
depend:
|
|
makedepend -- $(INCDIR) -- $(SRCS)
|