diff options
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
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 |