Annotation-System/hmmlib/makefile

11 lines
150 B
Makefile
Raw Normal View History

2017-02-27 21:42:14 +00:00
all: hmml.a example
hmml.a: hmmlib.o
ar rcs $@ $<
hmmlib.o: hmmlib.c
gcc -D_GNU_SOURCE -g -c $< -o $@
example: example.c hmml.a
gcc -g $^ -o $@