summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-08-22 03:44:14 -0500
committerepochqwert <epoch@hacking.allowed.org>2015-08-22 03:44:14 -0500
commit5dfc7b3d38d4ce0061ffb8166e640498ffdb46e3 (patch)
tree404b0fe9e7db27adf78df20eaa459fc107035fa0 /Makefile
parentb7849c483393cf510cbe4bca137ce4520b636685 (diff)
downloaduritools-5dfc7b3d38d4ce0061ffb8166e640498ffdb46e3.tar.gz
uritools-5dfc7b3d38d4ce0061ffb8166e640498ffdb46e3.zip
Forgot Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
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