Changeset 1850 in orxonox.OLD for orxonox/trunk/core/Makefile
- Timestamp:
- Apr 21, 2004, 1:11:19 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/core/Makefile
r1849 r1850 1 1 2 CPLUSPLUS = g++ 2 CC = gcc 3 CXX = g++ 3 4 APP_LIB_DEPS = -lglut -lGLU -lGL -lm -L/usr/X11R6/lib -lXt -lX11 4 5 GL_LIB = libGL.so … … 8 9 OSMESA_LIB = libOSMesa.so 9 10 10 CFLAGS = -O3 - ansi -pedantic -fPIC -ffast-math -I/usr/X11R6/include11 CFLAGS = -O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include 11 12 CXXFLAGS = -fPIC -O3 12 13 GLUT_CFLAGS = -fexceptions … … 25 26 orxonox \ 26 27 28 HEADERS = \ 29 orxonox.h \ 30 data_core.h 31 32 SOURCES = \ 33 orxonox.cc \ 34 data_core.cc 35 36 OBJECTS = \ 37 orxonox.o \ 38 data_tank.o 39 40 TARGET = orxonox 41 27 42 .SUFFIXES: 28 43 .SUFFIXES: .cc 29 44 30 .cc: $(LIB_DEP)31 $(CPLUSPLUS) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@45 #.cc: $(LIB_DEP) 46 # $(CXX) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@ 32 47 33 default: 34 targets: $(PROGS) 48 .cc.o: 49 $(CXX) -c $(CFLAGS) -I$(INCDIR) -o $@ $< 50 51 52 #### build 53 54 all: $(TARGET) 55 56 $(TARGET): $(LIB_DEP) $(OBJECTS) 57 $(CXX) $(LIBS) -o $(TARGET) $(OBJECTS) 58 59 60 help: 61 @echo "Cleaning targets:" 62 @echo " clean - remove most generated files" 63 @echo "" 64 @echo "Generic targets:" 65 @echo " all - Build all targets" 66 @echo "" 67 @echo "For further info see the README file" 35 68 36 37 69 clean: 38 70 rm -rf *.o *~ $(PROGS) 39 71 72 73 ####compile 74 75 orxonox.o: orxonox.cc \ 76 orxonox.h \ 77 78 data_tank.o: data_tank.cc \ 79 data_tank.h 80 81 #EOF
Note: See TracChangeset
for help on using the changeset viewer.