From b57c62adf24812cf11434e97bbe511ea36186a05 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 10 Nov 2006 14:13:50 +0000 Subject: [PATCH] needed for standalone execution svn path=/trunk/boinc_samples/; revision=11513 --- uppercase/Makefile | 6 +++--- uppercase/in | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 uppercase/in diff --git a/uppercase/Makefile b/uppercase/Makefile index 983a1e5871..c3c11a03f6 100644 --- a/uppercase/Makefile +++ b/uppercase/Makefile @@ -19,7 +19,7 @@ CXXFLAGS = -g \ -L. # the following should be freeglut; use nm to check -LIBGLUT = /usr/local/lib/libglut.a +LIBGLUT = /usr/lib/libglut.a LIBGLU = /usr/X11R6/lib/libGLU.a LIBJPEG = /usr/lib/libjpeg.a @@ -34,10 +34,10 @@ clean: # to be exported to the graphics library upper_case: upper_case.o $(BOINC_API_DIR)/libboinc_api.a $(BOINC_API_DIR)/libboinc_graphics_lib.a $(BOINC_LIB_DIR)/libboinc.a - g++ $(CXXFLAGS) -Wl,--export-dynamic -o upper_case upper_case.o libstdc++.a -pthread -lboinc_api -lboinc -lboinc_graphics_lib -ldl + $(CXX) $(CXXFLAGS) -Wl,--export-dynamic -o upper_case upper_case.o libstdc++.a -pthread -lboinc_api -lboinc -lboinc_graphics_lib -ldl upper_case.so: uc_graphics.o $(BOINC_LIB_DIR)/libboinc.a $(BOINC_API_DIR)/libboinc_graphics_impl.a - g++ $(CXXFLAGS) -o upper_case.so \ + $(CXX) $(CXXFLAGS) -o upper_case.so \ -shared -fPIC -pthread \ uc_graphics.o \ libstdc++.a \ diff --git a/uppercase/in b/uppercase/in new file mode 100644 index 0000000000..8caf86e2f9 --- /dev/null +++ b/uppercase/in @@ -0,0 +1 @@ +test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test