summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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