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

Simplified makefile

parent 9432a417
#CXX=/Library/Developer/CommandLineTools/usr/bin/clang++
#CXX11=/Library/Developer/CommandLineTools/usr/bin/clang++
#CXX_STD = CXX11
PKG_CPPFLAGS= -Wall -pedantic -pthread -fPIC -O2 -g -fPIC -I../inst -I../inst/include
PKG_LIBS=-L../inst -lboost_filesystem
LIBS=-L./ -L../inst
PKG_CPPFLAGS= -I../inst -I../inst/include
PKG_LIBS= -L../inst -lboost_filesystem
# LIBS=-L./ -L../inst
SOURCES= rcpp_hello_world.cpp rcpp_hello_filesystem.cpp RcppExports.cpp
OBJECTS= $(SOURCES:.cpp=.o)
......@@ -16,4 +16,4 @@ all: $(SHLIB) ../inst/libboost_filesystem.a
$(SHLIB): $(OBJECTS) ../inst/libboost_filesystem.a
../inst/libboost_filesystem.a: $(OBJECTS_FS)
ar -rvs ../inst/libboost_filesystem.a $(OBJECTS_FS)
\ No newline at end of file
# ar -rvs ../inst/libboost_filesystem.a $(OBJECTS_FS)
\ No newline at end of file
Markdown is supported
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