[Bio] / Kmers2 / Makefile Repository:
ViewVC logotype

Annotation of /Kmers2/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (view) (download)

1 : overbeek 1.1 #
2 :     # Copyright (c) 2003-2006 University of Chicago and Fellowship
3 :     # for Interpretations of Genomes. All Rights Reserved.
4 :     #
5 :     # This file is part of the SEED Toolkit.
6 :     #
7 :     # The SEED Toolkit is free software. You can redistribute
8 :     # it and/or modify it under the terms of the SEED Toolkit
9 :     # Public License.
10 :     #
11 :     # You should have received a copy of the SEED Toolkit Public License
12 :     # along with this program; if not write to the University of Chicago
13 :     # at info@ci.uchicago.edu or the Fellowship for Interpretation of
14 :     # Genomes at veronika@thefig.info or download a copy from
15 :     # http://www.theseed.org/LICENSE.TXT.
16 :     #
17 :    
18 :     #
19 :     #
20 :     #
21 :    
22 :     ARCH_BASE = $(RTROOT)/env/$(RTARCH)
23 :    
24 :     PERL = $(shell sed -ne 's/^RTPERL=\(.*\)/\1/p' $(RTROOT)/config/RTConfig)
25 :     #PERL = $(ARCH_BASE)/bin/perl
26 :     CC = $(shell $(PERL) -e 'use Config; print $$Config{cc}')
27 :    
28 :     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
29 :    
30 :     # define standard macros that say what we're making
31 :    
32 :     BINPERLSCRIPTS := $(wildcard *.pl)
33 :     BINPYSCRIPTS := $(wildcard *.py)
34 : overbeek 1.2 CBINS = kmer_guts.c kmer_guts_v2.c rna_seq.c
35 : overbeek 1.1
36 :    
37 :     $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.pl $(TOOL_HDR)
38 :     -test -f $@ && mv $@ $@.del
39 :     ( cat $(TOOL_HDR) $< > $@; chmod +x $@ )
40 :     -test -f $@.del && rm -f $@.del
41 :    
42 :     $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.py $(TOOL_HDR_PY)
43 :     ( cat $(TOOL_HDR_PY) $< > $@; chmod +x $@ )
44 :    
45 :     $(bindir)/%: $(TOPDIR)/$(PKGNAME)/%.R Makefile
46 :     ( echo "#!/usr/bin/env Rscript"; cat $<) > $@; chmod +x $@
47 :    
48 :     include standard.mk
49 :    
50 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3