Checking code reworked to be more robust.
[cert-checker.git] / Makefile
1 CFLAGS=-Wall -pedantic --std=c99 -lgnutls
2
3 all:    cert-checker
4
5 cert-checker: main.o smtp.o
6         gcc $(CFLAGS) -o $@ $^
7
8 depend:
9         gcc $(CFLAGS) -MM *.c > Makefile.depend
10
11 -include: Makefile.depend
12
13 .PHONY: clean
14
15 clean:
16         rm -f cert-checker *.o
17
18 install:
19         install -o root -g root cert-checker /usr/local/bin