X-Git-Url: http://git.scottworley.com/overonion/blobdiff_plain/b398ee5ae7abfa019f84628204f3c1cd146ed39e..4a5d2fe40628c9348fe018e0ee69aba6787905cf:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 71a482e..f733156 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CFLAGS = -Wall -Wextra -pedantic -Wstrict-overflow all: reverse clean: - -rm *.o reverse + -rm *.o reverse reverse_test distclean: clean -rm deps.makefile deps.makefile.bak @@ -12,9 +12,14 @@ distclean: clean depend: *.c makedepend -f- $^ > deps.makefile -.PHONY: clean distclean depend +test: reverse_test + ./reverse_test + ./overonion_test -reverse: reverse.o reverse_lib.o +.PHONY: clean distclean depend test + +reverse: reverse.o reverse_lib.o temp_file.o +reverse_test: reverse_test.o reverse_lib.o temp_file.o $(CC) -o $@ $^ $(CFLAGS) %.o: %.c