summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2019-04-20 05:32:27 -0500
committerepoch <epoch@hacking.allowed.org>2019-04-20 05:32:27 -0500
commit6f402e2d2f052972886712f60d592684c8671982 (patch)
tree47a09324bd3c5e577ec5b7059bd6c8834bead115 /Makefile
parentd42135919f480c8bba4ca1f043fbabf44dac708f (diff)
downloaduritools-6f402e2d2f052972886712f60d592684c8671982.tar.gz
uritools-6f402e2d2f052972886712f60d592684c8671982.zip
rebased on an old copy of this repo. renamed everything. rewrote the uri parser. added uricmp. wew.
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