]> git.plutz.net Git - stereofy/blob - Makefile
changed default install dir to /usr/local/bin, also check if dir exists and print...
[stereofy] / Makefile
1 CC = gcc
2 CCFLAGS = -Wall
3 BINDIR = /usr/local/bin
4
5 ${BINDIR}:
6         echo -e "\n\n====\n The specified executable directory (${BINDIR}) does not exist.\n Please adjust the BINDIR variable in the Makefile.\n Alternatively create the directory and make sure it is in the users executable path (\$$PATH)"
7         exit 1
8
9 anaglyph: anaglyph.c
10         ${CC} ${CCFLAGS} -oanaglyph anaglyph.c
11
12 install: ${BINDIR} anaglyph stereofy.sh
13         cp anaglyph ${BINDIR}/anaglyph
14         cp stereofy.sh ${BINDIR}/stereofy
15
16 clean:
17         rm anaglyph