summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8c8e858d4de46273629fc3a3cbc55cc3703c4e06 (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:
	cp -f matchurl $(PREFIX)/bin/matchurl
	cp -f cuturl $(PREFIX)/bin/cuturl