summaryrefslogtreecommitdiff
path: root/Makefile
blob: 3a1e308e8ef812ba4eaa057238eca758040d0654 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PREFIX ?= /usr/local
INSTALL ?= install
INSTALL_PROGRAM ?= $(INSTALL)

all: build
build:
	$(CC) -o rccat rccat.c
clean:
	$(RM) rccat
install:
	$(INSTALL_PROGRAM) -d $(PREFIX)/bin
	$(INSTALL_PROGRAM) -m755 rccat $(PREFIX)/bin
uninstall:
	$(RM) $(PREFIX)/bin/rccat