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

all: cuturl matchurl

matchurl: matchurl.c url.h

cuturl: cuturl.c url.h

clean:
	rm -f matchurl
	rm -f cuturl
	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