summaryrefslogtreecommitdiff
path: root/Makefile
blob: c65206216978e06b0723044d4aa429dc68cdf35c (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) -Wall -o matchurl matchurl.c url.c
	$(CC) -Wall -o cuturl cuturl.c url.c

clean:
	rm -f matchurl
	rm -f cuturl

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