diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -3,13 +3,15 @@ CFLAGS = -Ofast -march=native -mtune=native -pipe PREFIX = /usr -all: center -center: center.c +target = center + +all: ${target} +${target}: ${target}.c clean: - rm -f center + rm -f ${target} install: mkdir -p ${PREFIX}/bin ${PREFIX}/share/man/man1 - cp center ${PREFIX}/bin - cp center.1 ${PREFIX}/share/man/man1 + cp ${target} ${PREFIX}/bin + cp ${target}.1 ${PREFIX}/share/man/man1 |