]> git.plutz.net Git - stereofy/blobdiff - Makefile
cleaned up fprintf function, fixing last compiler warning, enabled hard optimization...
[stereofy] / Makefile
index d136b2f84fa258347475b2c6030dad9f0f72f671..93e877cb2d556b36c79854fd22a505c8a8ddaf09 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
 CC = gcc
-CCFLAGS = -Wall
+CCFLAGS = -Wall -O3
 BINDIR = /usr/local/bin
 
+all: anaglyph
+
 ${BINDIR}:
        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)"
        exit 1
@@ -11,7 +13,9 @@ anaglyph: anaglyph.c
 
 install: ${BINDIR} anaglyph stereofy.sh
        cp anaglyph ${BINDIR}/anaglyph
+       chmod a+x ${BINDIR}/anaglyph
        cp stereofy.sh ${BINDIR}/stereofy
+       chmod a+rx ${BINDIR}/stereofy
 
 clean:
        rm anaglyph