INSTALL = /usr/bin/install -c

# Installation directories
prefix = ${DESTDIR}/usr
bindir = ${prefix}/bin

all:
	g++ -c -o hello hello.cpp

clean:
	rm hello

install:
	$(INSTALL) -d -m 755 $(bindir)
	$(INSTALL) -m 755 -o 0 hello $(bindir)
