Generic Makefile

From genomewiki
Revision as of 13:59, 12 September 2006 by Max (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

include ../common.mk include $(KENT)/src/inc/common.mk

CFLAGS=-I ${KENT}/src/inc -I ${KENT}/src/hg/inc -g L = -lm $(MYSQLLIBS) MYLIBDIR = $(KENT)/src/lib/$(MACHTYPE) MYLIBS = $(MYLIBDIR)/jkhgap.a $(MYLIBDIR)/jkweb.a

O = bedFlanking.o ../lib/bedUtil.o

bedFlanking: $O $(MYLIBS)

       ${CC} ${COPT} ${CFLAGS}  -o $(HOME)/bin/$(MACHTYPE)/bedFlanking $O $(MYLIBS) $L
       strip $(HOME)/bin/$(MACHTYPE)/bedFlanking

e:

       vim bedFlanking.c

splint: bedFlanking.c

       splint -weak $(CFLAGS) bedFlanking.c

run: bedFlanking

       bedFlanking -concat test/regions.bed test/genes.bed stdout 

test1: bedFlanking

       bedFlanking -concat test/5-short.bed test/jgi-exons.bed stdout 

symbols: $O $(MYLIBS) maxfa.c

       ${CC} ${COPT} ${CFLAGS}  -o $(HOME)/bin/$(MACHTYPE)/bedFlanking $O $(MYLIBS) $L 

corefile: core

       gdb bedFlanking core

debug:

       gdb --args 

tags: bedFlanking.c

       ctags *.c 

clean:

       rm *.o
       rm core

test: bedFlanking.c

       bedFlanking 
       
  1. DO NOT DELETE