aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: c636e6d6cc4eddfecd2224fca2d5620c0e3c823d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
OBJECTS = pass.o pass_util.o util.o gpg.o
CC = gcc
CFLAGS = -g -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wpedantic -fsanitize=address

pass: $(OBJECTS)
	$(CC) $(CFLAGS) -o pass $(OBJECTS) -l gpgme

pass.o: pass_util.h util.h
pass_util.o: util.h gpg.h

.PHONY: clean
clean:
	rm -f pass $(OBJECTS)