blob: 7971e6f034bca3f2d4ea0aa5856bc5bbbe508c6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
BINDIR=/usr/local/bin
BIN=game
all:
cc -O2 -Wall -pthread ${BIN}.c -o ${BIN}
install:
mkdir -p ${BINDIR}
cp ${BIN} ${BINDIR}/
uninstall:
rm -f ${BINDIR}/${BIN}
deinstall: uninstall
clean:
rm -f ${BIN}
|