summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2017-08-20 11:10:47 +0000
committerepochqwert <epoch@hacking.allowed.org>2017-08-20 11:10:47 +0000
commit94c1a7bb5463acf0a9e70126d39b75bc354192f3 (patch)
tree1a78271d849aac3f5b9e0a630d4eb424dfab62a6 /Makefile
parent7263e71e12b542122fa20e3263ba0e33bc7384ac (diff)
downloaduritools-94c1a7bb5463acf0a9e70126d39b75bc354192f3.tar.gz
uritools-94c1a7bb5463acf0a9e70126d39b75bc354192f3.zip
fixed up Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ee617d0..7ed038d 100644
--- a/Makefile
+++ b/Makefile
@@ -2,16 +2,21 @@ CFLAGS=-std=c99 -pedantic -Wall
PREFIX=/usr/local
CC=gcc
-all: cuturl matchurl
+all: cuturl matchurl linturl
-matchurl: matchurl.c url.o
+matchurl: matchurl.c url.h
-cuturl: cuturl.c url.o
+cuturl: cuturl.c url.h
+
+linturl: linturl.c url.h
clean:
rm -f matchurl
rm -f cuturl
+ rm -f linturl
+ rm -f *.o
install: all
cp -f matchurl $(PREFIX)/bin/matchurl
cp -f cuturl $(PREFIX)/bin/cuturl
+ cp -f linturl $(PREFIX)/bin/linturl