Displaying 1 result from an estimated 1 matches for "isdk".
Did you mean:
isd
2005 Sep 09
2
C macros and Makevars/package building
...s the main question :) We have an
approach which seems to work, I just want a bit of feedback on it....
The way we integrate it into R is simply by having a subdirectory /
src/sdk together with a Makevars file. This file basically looks like
PKG_CPPFLAGS+=\
-imacros R_affx_constants.h\
-Isdk/files\
(... + a lot of other -I statements telling CPP to include
subdirectories of src/sdk)
Then we have a
SOURCES.SDK = \
sdk/files/FileIO.cpp \
(... + a lot of other .cpp files)
SOURCES.OURS = \
R_affx_cdf.cpp
and then finally a
OBJS=$(SOURCES.SDK:.cpp=.o) $(SOURCES.OURS:cpp:....