From 5dfc7b3d38d4ce0061ffb8166e640498ffdb46e3 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Sat, 22 Aug 2015 03:44:14 -0500 Subject: Forgot Makefile. --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7257526 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CFLAGS=-std=c99 -pedantic -Wall +PREFIX=/usr/local +CC=gcc + +all: + $(CC) -o matchurl matchurl.c url.c + $(CC) -o cuturl cuturl.c url.c + +clean: + rm -f matchurl + rm -f cuturl + +install: + cp -f matchurl $(PREFIX)/bin/matchurl + cp -f cuturl $(PREFIX)/bin/cuturl -- cgit v1.2.3