summaryrefslogtreecommitdiff
path: root/Makefile
blob: 7ed038d6ce5502492ca2b03662f83b1a602ccc92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CFLAGS=-std=c99 -pedantic -Wall
PREFIX=/usr/local
CC=gcc

all: cuturl matchurl linturl

matchurl: matchurl.c url.h

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