]> git.armaanb.net Git - stagit.git/blobdiff - Makefile
Redirect stdout to correct file.
[stagit.git] / Makefile
index d5f487677f597ab0879707cd8b414251e852e49f..1b2750e4b1351957a3971d04862f2817e99a1a6d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,8 +24,8 @@ COMPATSRC = \
        strlcat.c\
        strlcpy.c
 BIN = \
-       stagit\
-       stagit-index
+       stagit.out\
+       stagit-index.out
 MAN1 = \
        stagit.1\
        stagit-index.1
@@ -63,10 +63,11 @@ dist:
 
 ${OBJ}: ${HDR}
 
-stagit: stagit.o ${COMPATOBJ}
+stagit.out: stagit.o ${COMPATOBJ} Gemfile
+       bundle install
        ${CC} -o $@ stagit.o ${COMPATOBJ} ${STAGIT_LDFLAGS}
 
-stagit-index: stagit-index.o ${COMPATOBJ}
+stagit-index.out: stagit-index.o ${COMPATOBJ}
        ${CC} -o $@ stagit-index.o ${COMPATOBJ} ${STAGIT_LDFLAGS}
 
 clean: