[Bio] / Kmers2 / Makefile Repository:
ViewVC logotype

View of /Kmers2/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (annotate)
Tue Sep 10 16:36:52 2013 UTC (6 years, 2 months ago) by overbeek
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
fix rna_seq compile

#
# Copyright (c) 2003-2006 University of Chicago and Fellowship
# for Interpretations of Genomes. All Rights Reserved.
#
# This file is part of the SEED Toolkit.
# 
# The SEED Toolkit is free software. You can redistribute
# it and/or modify it under the terms of the SEED Toolkit
# Public License. 
#
# You should have received a copy of the SEED Toolkit Public License
# along with this program; if not write to the University of Chicago
# at info@ci.uchicago.edu or the Fellowship for Interpretation of
# Genomes at veronika@thefig.info or download a copy from
# http://www.theseed.org/LICENSE.TXT.
#

#
#
#

ARCH_BASE = $(RTROOT)/env/$(RTARCH)

PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
#PERL = $(ARCH_BASE)/bin/perl
CC =  $(shell $(PERL) -e 'use Config; print $$Config{cc}')

CFLAGS = $(shell $(PERL) -e 'use Config; print "$$Config{ccflags} -I$$Config{archlib}/CORE -I$(ARCH_BASE)/lib/perl5/$$Config{version}/$$Config{archname}/CORE"') -O -lm

# define standard macros that say what we're making

BINPERLSCRIPTS := $(wildcard *.pl)
BINPYSCRIPTS := $(wildcard *.py)
CBINS = kmer_guts.c kmer_guts_v2.c rna_seq.c


$(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
	-test -f $@ && mv $@ $@.del
	( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
	-test -f $@.del && rm -f $@.del

$(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.py $(TOOL_HDR_PY)
	( cat $(TOOL_HDR_PY) $< > $@; chmod +x $@ )

$(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.R Makefile
	( echo "#!/usr/bin/env Rscript"; cat $<) > $@; chmod +x $@ 

include standard.mk



MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3