Changeset 152 for trunk/examples/c-example/Makefile
- Timestamp:
- Dec 15, 2005, 7:07:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/c-example/Makefile
r109 r152 21 21 22 22 LIB_DIR = $(RP_BASE)/lib 23 LIB_INC_PREFIX = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR)24 23 LIB_RAPPTURE = -Wl,-rpath,$(LIB_DIR) -L$(LIB_DIR) -lrappture 24 LIB_RAPPTURE_MAC = -L$(LIB_DIR) -lrappture -lscew 25 25 26 26 all: $(PROGS) 27 27 28 28 plot: plot.cc 29 $(CXX) $(DEBUG) -DDEBUG $(INCL_FILES) -o $@ $< $(LIB_RAPPTURE) 30 mac: plot.cc 31 $(CXX) $(DEBUG) -DDEBUG $(INCL_FILES) -o plot $< -L$(LIB_DIR) -lrappture -lscew 29 if test "`uname`" == "Darwin"; then \ 30 $(CXX) $(DEBUG) -DDEBUG $(INCL_FILES) -o $@ $< $(LIB_RAPPTURE_MAC); \ 31 else \ 32 $(CXX) $(DEBUG) -DDEBUG $(INCL_FILES) -o $@ $< $(LIB_RAPPTURE); \ 33 fi 32 34 33 35 plotc: plotc.c 34 $(CC) $(DEBUG) -DDEBUG $(INCL_FILES) -o $@ $< $(LIB_RAPPTURE) -lm 35 mac-plotc: plotc.c 36 $(CC) $(DEBUG) -DDEBUG $(INCL_FILES) -o plotc $< -L$(LIB_DIR) -lrappture -lscew 36 if test "`uname`" == "Darwin"; then \ 37 $(CXX) $(DEBUG) -DDEBUG $(INCL_FILES) -o $@ $< $(LIB_RAPPTURE_MAC); \ 38 else \ 39 $(CC) $(DEBUG) -DDEBUG $(INCL_FILES) -o $@ $< $(LIB_RAPPTURE) -lm; \ 40 fi 37 41 38 42 #### CLEAN UP ############################################################
Note: See TracChangeset
for help on using the changeset viewer.