https://github.com/cran/dtw
Tip revision: e5274988af4af0e65de75ac6ae8092578d89f1b4 authored by Toni Giorgino on 22 August 2012, 00:00:00 UTC
version 1.15
version 1.15
Tip revision: e527498
Makevars
###############################################################
# #
# (c) Toni Giorgino <toni.giorgino gmail.com> #
# Istituto di Ingegneria Biomedica (ISIB-CNR) #
# Consiglio Nazionale delle Ricerche #
# www.isib.cnr.it #
# #
# $Id: Makevars 271 2012-08-12 16:29:29Z 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 -DTEST_UNIT -Wall
TEST_UNIT_LOADLIBES=
test_computeCM: computeCM.c computeCM.h
$(CC) $(TEST_UNIT_CFLAGS) $< -o $@ $(TEST_UNIT_LOADLIBES)