https://github.com/cran/dtw
Raw File
Tip revision: fb9d711f03cd085124e022a5179b96dd48b48a1b authored by Toni Giorgino on 27 April 2013, 00:00:00 UTC
version 1.16
Tip revision: fb9d711
Makevars
###############################################################
#                                                             #
#   (c) Toni Giorgino <toni.giorgino gmail.com>               #
#       Istituto di Ingegneria Biomedica (ISIB-CNR)           #
#       Consiglio Nazionale delle Ricerche                    #
#       www.isib.cnr.it                                       #
#                                                             #
#   $Id: Makevars 289 2013-04-29 14:41:34Z tonig $
#                                                             #
###############################################################



# Preserve the R makefile default target
.PHONY:
all: $(SHLIB)


# To check, build and install:
#  R CMD check pkg
#  R CMD build pkg && R CMD INSTALL -l /tmp/ dtw_1.15.tar.gz 
#  library(dtw,lib.loc="/tmp/")


clean:
	-rm computeCM.o dtw.o test_computeCM

# 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 -g -O2 -DTEST_UNIT -Wall -pedantic
TEST_UNIT_LOADLIBES=

test_computeCM: computeCM.c 
	$(CC) $(TEST_UNIT_CFLAGS) $< -o $@  $(TEST_UNIT_LOADLIBES)

back to top