Commit 79547ca3 authored by Reineking Bjoern's avatar Reineking Bjoern
Browse files

Simplified makefile

parent 9432a417
No related merge requests found
Showing with 4 additions and 4 deletions
+4 -4
#CXX=/Library/Developer/CommandLineTools/usr/bin/clang++ #CXX=/Library/Developer/CommandLineTools/usr/bin/clang++
#CXX11=/Library/Developer/CommandLineTools/usr/bin/clang++ #CXX11=/Library/Developer/CommandLineTools/usr/bin/clang++
#CXX_STD = CXX11 #CXX_STD = CXX11
PKG_CPPFLAGS= -Wall -pedantic -pthread -fPIC -O2 -g -fPIC -I../inst -I../inst/include PKG_CPPFLAGS= -I../inst -I../inst/include
PKG_LIBS=-L../inst -lboost_filesystem PKG_LIBS= -L../inst -lboost_filesystem
LIBS=-L./ -L../inst # LIBS=-L./ -L../inst
SOURCES= rcpp_hello_world.cpp rcpp_hello_filesystem.cpp RcppExports.cpp SOURCES= rcpp_hello_world.cpp rcpp_hello_filesystem.cpp RcppExports.cpp
OBJECTS= $(SOURCES:.cpp=.o) OBJECTS= $(SOURCES:.cpp=.o)
...@@ -16,4 +16,4 @@ all: $(SHLIB) ../inst/libboost_filesystem.a ...@@ -16,4 +16,4 @@ all: $(SHLIB) ../inst/libboost_filesystem.a
$(SHLIB): $(OBJECTS) ../inst/libboost_filesystem.a $(SHLIB): $(OBJECTS) ../inst/libboost_filesystem.a
../inst/libboost_filesystem.a: $(OBJECTS_FS) ../inst/libboost_filesystem.a: $(OBJECTS_FS)
ar -rvs ../inst/libboost_filesystem.a $(OBJECTS_FS) # ar -rvs ../inst/libboost_filesystem.a $(OBJECTS_FS)
\ No newline at end of file \ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment