X-Git-Url: https://git.armaanb.net/?p=pong.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=a234c45070355bc1ad0ceeb62ebe85e616c34954;hp=269671baff3d5b107ce4edbfaa7830cf37241f38;hb=d0f1559f485d5eead4cd7137b5e55ed315b4e1fe;hpb=493a62a6561b6ba99143d48ef46bca4be4f8fa82 diff --git a/Makefile b/Makefile index 269671b..a234c45 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,14 @@ all: - ${CC} -o pong pong.c ${CLAGS} -lcurses ${LDFLAGS} + ${CC} -o pong pong.c ${CLAGS} -Wall -Wextra -std=c99 -pedantic \ + -lcurses ${LDFLAGS} + scdoc < pong.1.scd > pong.1 -install: +install: all + mkdir -p /usr/local/bin /usr/local/share/man/man1 cp pong /usr/local/bin/pong + cp pong.1 /usr/local/share/man/man1/pong.1 uninstall: - rm /usr/local/bin/pong + rm /usr/local/bin/pong /usr/local/share/man/man1/pong.1 .PHONY: all