X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2Fmakefile;fp=bundles%2Forg.simantics.databoard%2Fcpp%2FDataBoardTest%2Fmakefile;h=07631256be9760ee5307d86d2beeb507ae5cb06e;hb=969bd23cab98a79ca9101af33334000879fb60c5;hp=0000000000000000000000000000000000000000;hpb=866dba5cd5a3929bbeae85991796acb212338a08;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/cpp/DataBoardTest/makefile b/bundles/org.simantics.databoard/cpp/DataBoardTest/makefile new file mode 100644 index 000000000..07631256b --- /dev/null +++ b/bundles/org.simantics.databoard/cpp/DataBoardTest/makefile @@ -0,0 +1,12 @@ +CC=g++ -fPIC -c +SHA = g++ +SHAOPTS = -shared -Wl,-soname,libdataboard.so +INC=-I$(ANTDIR)/include/ -I. +LIB=-L$(ANTDIR)/lib/ -lantlr3c + +all: + $(CC) $(INC) $(LIB) *.cpp *.c + $(SHA) $(SHAOPTS) -o lib/libdataboard.so *.o + +clean: + rm -rf *.o lib/libdataboard.a lib/*.so*