]> git.scottworley.com Git - overonion/blame_incremental - Makefile
Refuse to re-use keys
[overonion] / Makefile
... / ...
CommitLineData
1CC = gcc
2CFLAGS = -Wall -Wextra -pedantic -Wstrict-overflow
3
4all: reverse
5
6clean:
7 -rm *.o reverse reverse_test
8
9distclean: clean
10 -rm deps.makefile deps.makefile.bak
11
12depend: *.c
13 makedepend -f- $^ > deps.makefile
14
15test: reverse_test
16 ./reverse_test
17 ./overonion_test
18
19.PHONY: clean distclean depend test
20
21reverse: reverse.o reverse_lib.o temp_file.o
22reverse_test: reverse_test.o reverse_lib.o temp_file.o
23 $(CC) -o $@ $^ $(CFLAGS)
24
25%.o: %.c
26 $(CC) -c -o $@ $< $(CFLAGS)
27
28-include deps.makefile