summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 18 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 7edc560..b67a2d6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,26 +1,28 @@
-CFLAGS=-std=c99 -pedantic -Wall
-PREFIX=/usr/local
-CC=gcc
+CFLAGS:=-std=c11 -pedantic -Wall
+PREFIX:=/usr/local
+CC:=gcc
-all: cuturl matchurl urlunescape urlescape
+all: uricut urimatch uriunescape uriescape uricmp
-matchurl: matchurl.c url.h
+urimatch: urimatch.c uri.h
-cuturl: cuturl.c url.h
+uricut: uricut.c uri.h
-urlunescape: urlunescape.c url.h
+uricmp: uricmp.c uri.h
-urlescape: urlescape.c url.h
+uriunescape: uriunescape.c uri.h
+
+uriescape: uriescape.c uri.h
clean:
- rm -f matchurl
- rm -f cuturl
+ rm -f uricut urimatch uriunescape uriescape uricmp
rm -f *.o
install: all
- install matchurl $(PREFIX)/bin/matchurl
- install cuturl $(PREFIX)/bin/cuturl
- install start $(PREFIX)/bin/start
- install printfurl $(PREFIX)/bin/printfurl
- install urlunescape $(PREFIX)/bin/urlunescape
- install urlescape $(PREFIX)/bin/urlescape
+ install urimatch $(PREFIX)/bin/urimatch
+ install uricut $(PREFIX)/bin/uricut
+ install uricmp $(PREFIX)/bin/uricmp
+ install uristart $(PREFIX)/bin/uristart
+ install uriprintf $(PREFIX)/bin/uriprintf
+ install uriunescape $(PREFIX)/bin/uriunescape
+ install uriescape $(PREFIX)/bin/uriescape