Generic Makefile
From genomewiki
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
- DO NOT DELETE