Last change
on this file since 90 was
90,
checked in by dkearney, 19 years ago
|
adjusted the c-example which include a c example and a c++ example
also changed RpLibrary?.h to look for the scew library in the scew directory.
|
File size:
892 bytes
|
Line | |
---|
1 | # define rappture src directory |
---|
2 | RP_BASE = /opt/rappture |
---|
3 | |
---|
4 | PROGS = plot plotc |
---|
5 | |
---|
6 | # define our compiling environment |
---|
7 | # |
---|
8 | CC = gcc |
---|
9 | CXX = g++ |
---|
10 | DEBUG = -g -Wall |
---|
11 | DEBUG_PLUS = -g -DDEBUG |
---|
12 | |
---|
13 | # define our directories |
---|
14 | # |
---|
15 | INCLUDES_DIR = $(RP_BASE)/include |
---|
16 | INCL_CEE = -I $(INCLUDES_DIR)/cee |
---|
17 | INCL_CORE = -I $(INCLUDES_DIR)/core |
---|
18 | INCL_RP_DEPS = -I $(RP_BASE)/include |
---|
19 | |
---|
20 | LIB_DIR = $(RP_BASE)/lib |
---|
21 | LIB_INC_PREFIX = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) |
---|
22 | LIB_RAPPTURE = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture |
---|
23 | |
---|
24 | plot: plot.cc |
---|
25 | $(CXX) $(DEBUG) -DDEBUG $(INCL_CEE) $(INCL_CORE) $(INCL_RP_DEPS) -o $@ $< $(LIB_RAPPTURE) |
---|
26 | |
---|
27 | plotc: plot.cc |
---|
28 | $(CC) $(DEBUG) -DDEBUG $(INCL_CEE) $(INCL_CORE) $(INCL_RP_DEPS) -o $@ $< $(LIB_RAPPTURE) |
---|
29 | |
---|
30 | #### CLEAN UP ############################################################ |
---|
31 | clean: |
---|
32 | rm -f $(PROGS) run*.xml |
---|
Note: See
TracBrowser
for help on using the repository browser.