File: GNUmakefile

package info (click to toggle)
openscenegraph 1.2.0-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 26,924 kB
  • ctags: 25,229
  • sloc: cpp: 239,326; ansic: 2,178; sh: 1,990; yacc: 548; perl: 237; makefile: 227; lex: 151
file content (22 lines) | stat: -rw-r--r-- 566 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TOPDIR=../
include $(TOPDIR)/Make/makedefs

LIBS   = -losgText -losgGA -losgDB -losgUtil -losg -losgProducer -lProducer -lOpenThreads -lGLw -lGL -lGLU -lXm -lXt -lX11
LDFLAGS += -L/usr/X11R6/lib -L$(HOME)/lib
CXXFLAGS += -I$(HOME)/include -g -ggdb -gstabs+
ALL    = example1 example2
ALLSRC = example1.cpp example2.cpp gui.cpp

all :: $(ALL)

EX1OBJS = example1.o gui.o
example1 : $(EX1OBJS)
	$(CXX) $(LDFLAGS) $(EX1OBJS) $(LIBS) -o $@

EX2OBJS = example2.o gui.o
example2 : $(EX2OBJS)
	$(CXX) $(LDFLAGS) $(EX2OBJS) $(LIBS) -o $@

include $(TOPDIR)/Make/makerules