Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/core/Makefile @ 1849

Last change on this file since 1849 was 1849, checked in by patrick, 21 years ago

orxonox: Makefile for core

File size: 742 bytes
Line 
1
2CPLUSPLUS = g++
3APP_LIB_DEPS = -lglut -lGLU -lGL -lm -L/usr/X11R6/lib -lXt -lX11
4GL_LIB = libGL.so
5GLU_LIB = libGLU.so
6GLUT_LIB = libglut.so
7GLW_LIB = libGLw.so
8OSMESA_LIB = libOSMesa.so
9
10CFLAGS = -O3 -ansi -pedantic -fPIC -ffast-math -I/usr/X11R6/include
11CXXFLAGS = -fPIC -O3
12GLUT_CFLAGS = -fexceptions
13
14TOP = ../..
15INCDIR = /usr/Mesa-6.0.1/include
16LIBDIR = /usr/Mesa-6.0.1/lib
17
18LIBS = -L$(LIBDIR) $(APP_LIB_DEPS)
19
20OSMESA_LIBS = -L$(LIBDIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS)
21
22LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
23
24PROGS = \
25        orxonox \
26
27.SUFFIXES:
28.SUFFIXES: .cc
29
30.cc: $(LIB_DEP)
31        $(CPLUSPLUS) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@
32
33default:
34targets: $(PROGS)
35       
36
37clean:
38        rm -rf *.o *~ $(PROGS)
39
Note: See TracBrowser for help on using the repository browser.