makefile 227 Bytes
Newer Older
Alex Baines's avatar
Alex Baines committed
1 2 3 4 5 6
all: hmml.a example

hmml.a: hmmlib.o
	ar rcs [email protected] $<

hmmlib.o: hmmlib.c
7
	gcc -std=gnu99 -D_GNU_SOURCE -g -c $< -o [email protected]
Alex Baines's avatar
Alex Baines committed
8 9

example: example.c hmml.a
10
	gcc -std=gnu99 -g $^ -o [email protected]
11 12 13 14 15
	
clean:
	$(RM) hmml.a hmmlib.o example

.PHONY: clean