backly/Makefile

19 lines
262 B
Makefile
Raw Normal View History

2015-02-10 21:11:15 -05:00
# Install prefix
PREFIX ?= /usr/local
# Build flags
FLAGS = -std=gnu99
# Build rules
all: backly
.PHONY: all install clean
backly: backly.c Makefile
gcc $(FLAGS) -o backly backly.c
install: backly
install -m 0755 backly $(PREFIX)/bin
clean:
rm -f backly