Line | |
---|
1 | |
---|
2 | SHELL = /bin/sh |
---|
3 | |
---|
4 | .PHONY: all install clean distclean |
---|
5 | |
---|
6 | bindir = @bindir@ |
---|
7 | datadir = @datadir@ |
---|
8 | datarootdir = @datarootdir@ |
---|
9 | exec_prefix = @exec_prefix@ |
---|
10 | includedir = @includedir@ |
---|
11 | libdir = @libdir@ |
---|
12 | mandir = @mandir@ |
---|
13 | prefix = @prefix@ |
---|
14 | srcdir = @srcdir@ |
---|
15 | |
---|
16 | INSTALL = @INSTALL@ |
---|
17 | INSTALL_PROGRAM = ${INSTALL} -m 555 |
---|
18 | INSTALL_DATA = ${INSTALL} -m 444 |
---|
19 | INSTALL_SCRIPT = ${INSTALL} -m 444 |
---|
20 | RM = rm -f |
---|
21 | AR = ar rc |
---|
22 | RANLIB = @RANLIB@ |
---|
23 | CC = @CC@ |
---|
24 | CXX = @CXX@ |
---|
25 | VPATH = $(srcdir) |
---|
26 | |
---|
27 | RP_DIR = @RP_DIR@ |
---|
28 | RP_INC_SPEC = -I$(RP_DIR)/include -I$(RP_DIR)/include/rappture2 |
---|
29 | |
---|
30 | INCLUDES = \ |
---|
31 | -I$(srcdir)/../include \ |
---|
32 | -I$(srcdir)/../.. \ |
---|
33 | $(RP_INC_SPEC) |
---|
34 | |
---|
35 | CFLAGS = @CFLAGS@ |
---|
36 | EXTRA_CFLAGS = -Wall |
---|
37 | DEFINES = @DEFINES@ |
---|
38 | CXX_SWITCHES = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES) |
---|
39 | |
---|
40 | OBJS = \ |
---|
41 | R2FilePath.o \ |
---|
42 | R2Fonts.o \ |
---|
43 | R2Geometry.o \ |
---|
44 | R2IndexBuffer.o \ |
---|
45 | R2Object.o \ |
---|
46 | R2VertexBuffer.o |
---|
47 | |
---|
48 | R2LIB = R2.a |
---|
49 | |
---|
50 | all: $(R2LIB) |
---|
51 | |
---|
52 | install: |
---|
53 | |
---|
54 | $(R2LIB): $(OBJS) |
---|
55 | $(RM) $@ |
---|
56 | $(AR) $@ $(OBJS) |
---|
57 | $(RANLIB) $@ |
---|
58 | |
---|
59 | .cpp.o: |
---|
60 | $(CXX) $(CXX_SWITCHES) -o $@ -c $< |
---|
61 | |
---|
62 | clean: |
---|
63 | $(RM) $(R2LIB) $(OBJS) |
---|
64 | |
---|
65 | distclean: clean |
---|
66 | $(RM) Makefile *~ |
---|
67 | |
---|
Note: See
TracBrowser
for help on using the repository browser.