diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -11,19 +11,19 @@ all: options gramscii options: @echo "-+- build options -+-" - @echo "PREFIX = $(PREFIX)" - @echo "CFLAGS = $(CFLAGS)" - @echo "LDFLAGS = $(LDFLAGS)" - @echo "CC = $(CC)" + @echo "PREFIX = ${PREFIX}" + @echo "CFLAGS = ${CFLAGS}" + @echo "LDFLAGS = ${LDFLAGS}" + @echo "CC = ${CC}" @echo "-+-+-+-+-+-+-+-+-+-+-" gramscii: ${SRC} ${INC} - $(CC) $(CFLAGS) -o gramscii ${SRC} + ${CC} ${CFLAGS} ${LDFLAGS} -o $@ ${SRC} clean: @echo cleaning - @rm -f $(SRC:.c=) gramscii + @rm -f gramscii install: all @echo installing executable to ${DESTDIR}${BINDIR} |