From 6f402e2d2f052972886712f60d592684c8671982 Mon Sep 17 00:00:00 2001 From: epoch Date: Sat, 20 Apr 2019 05:32:27 -0500 Subject: rebased on an old copy of this repo. renamed everything. rewrote the uri parser. added uricmp. wew. --- Makefile | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3