summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7257526376b13c818ad1ef2ac43efd6d9727dfb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CFLAGS=-std=c99 -pedantic -Wall
PREFIX=/usr/local
CC=gcc

all:
	$(CC) -o matchurl matchurl.c url.c
	$(CC) -o cuturl cuturl.c url.c

clean:
	rm -f matchurl
	rm -f cuturl

install:
	cp -f matchurl $(PREFIX)/bin/matchurl
	cp -f cuturl $(PREFIX)/bin/cuturl