]> git.scottworley.com Git - overonion/blame - Makefile
Make a function call interface
[overonion] / Makefile
CommitLineData
7ed3669a
SW
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
b398ee5a 17reverse: reverse.o reverse_lib.o
7ed3669a
SW
18 $(CC) -o $@ $^ $(CFLAGS)
19
20%.o: %.c
21 $(CC) -c -o $@ $< $(CFLAGS)
22
23-include deps.makefile