############################################################### # # # (c) Toni Giorgino # # Laboratory for Biomedical Informatics # # University of Pavia - Italy # # www.labmedinfo.org # # # # $Id: Makevars 51 2007-12-11 10:59:08Z tonig $ # # ############################################################### # Preserve the R makefile default target .PHONY: all: $(SHLIB) # Allow building a stand alone executable with test main method # Usage: make -f Makevars test_computeCM # You may want to undefine DMALLOC below TEST_UNIT_CFLAGS=-std=gnu99 -DDMALLOC -g -DTEST_UNIT TEST_UNIT_LOADLIBES=-ldmalloc test_computeCM: computeCM.c computeCM.h $(CC) $(TEST_UNIT_CFLAGS) $< -o $@ $(TEST_UNIT_LOADLIBES)