forked from makovalab-psu/NoiseCancellingRepeatFinder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (22 loc) · 839 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include version.mak
VERSION=${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_SUBMINOR}
VERSION_FLAGS= \
-DVERSION_MAJOR="\"${VERSION_MAJOR}"\" \
-DVERSION_MINOR="\"${VERSION_MINOR}"\" \
-DVERSION_SUBMINOR="\"${VERSION_SUBMINOR}"\" \
-DREVISION_DATE="\"${REVISION_DATE}"\" \
-DSUBVERSION_REV="\"${SUBVERSION_REV}"\"
CFLAGS = -O3 ${VERSION_FLAGS} -Wall -Wextra -Werror
CC = gcc
LDLIBS = -lm
incFiles = loop_aligner.h feed.h motifs.h seq_ops.h clock.h utilities.h \
version.mak
default: noise_cancelling_repeat_finder
mv noise_cancelling_repeat_finder NCRF
noise_cancelling_repeat_finder: noise_cancelling_repeat_finder.o loop_aligner.o feed.o motifs.o seq_ops.o clock.o utilities.o
%.o: %.c Makefile ${incFiles}
${CC} -c ${CFLAGS} $< -o $@
clean: cleano
rm -f NCRF noise_cancelling_repeat_finder
cleano:
rm -f *.o