]> git.scottworley.com Git - overonion/blame_incremental - Makefile
Make a function call interface
[overonion] / Makefile
... / ...
CommitLineData
1CC = gcc
2CFLAGS = -Wall -Wextra -pedantic -Wstrict-overflow
3
4all: reverse
5
6clean:
7 -rm *.o reverse
8
9distclean: clean
10 -rm deps.makefile deps.makefile.bak
11
12depend: *.c
13 makedepend -f- $^ > deps.makefile
14
15.PHONY: clean distclean depend
16
17reverse: reverse.o reverse_lib.o
18 $(CC) -o $@ $^ $(CFLAGS)
19
20%.o: %.c
21 $(CC) -c -o $@ $< $(CFLAGS)
22
23-include deps.makefile