diff options
author | mutantturkey <crazycal00@gmail.com> | 2010-04-26 16:03:29 -0400 |
---|---|---|
committer | mutantturkey <crazycal00@gmail.com> | 2010-04-26 16:03:29 -0400 |
commit | 116910ad908344f92fc8d827a00a4e827d05ef59 (patch) | |
tree | b13921410caaa86a8847e7b245241a7c7e9e873b | |
parent | 79bd5d8f00190cb5c5d1d2b1d181af72fd9897b0 (diff) |
fixed Makefile, old makefile was for sb. this one is working
-rw-r--r-- | Makefile | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -1,15 +1,14 @@ -# surf - simple browser -# See LICENSE file for copyright and license details. +# multi-terminal - a simple gtk terminal include config.mk -SRC = sb.c +SRC = mt.c OBJ = ${SRC:.c=.o} -all: options sb +all: options mt options: - @echo sb build options: + @echo mt build options: @echo "CFLAGS = ${CFLAGS}" @echo "LDFLAGS = ${LDFLAGS}" @echo "CC = ${CC}" @@ -21,31 +20,31 @@ options: ${OBJ}: config.mk -sb: ${OBJ} +mt: ${OBJ} @echo CC -o $@ - @${CC} -o $@ sb.o ${LDFLAGS} + @${CC} -o $@ mt.o ${LDFLAGS} clean: @echo cleaning - @rm -f sb ${OBJ} sb-${VERSION}.tar.gz + @rm -f mt ${OBJ} mt-${VERSION}.tar.gz dist: clean @echo creating dist tarball - @mkdir -p sb-${VERSION} - @cp -R Makefile config.mk ${SRC} sb-${VERSION} - @tar -cf sb-${VERSION}.tar sb-${VERSION} - @gzip sb-${VERSION}.tar - @rm -rf sb-${VERSION} + @mkdir -p mt-${VERSION} + @cp -R Makefile config.mk ${SRC} mt-${VERSION} + @tar -cf mt-${VERSION}.tar mt-${VERSION} + @gzip mt-${VERSION}.tar + @rm -rf mt-${VERSION} install: all @echo installing executable file to ${DESTDIR}${PREFIX}/bin @mkdir -p ${DESTDIR}${PREFIX}/bin - @cp -f sb ${DESTDIR}${PREFIX}/bin - @chmod 755 ${DESTDIR}${PREFIX}/bin/sb + @cp -f mt ${DESTDIR}${PREFIX}/bin + @chmod 755 ${DESTDIR}${PREFIX}/bin/mt uninstall: @echo removing executable file from ${DESTDIR}${PREFIX}/bin - @rm -f ${DESTDIR}${PREFIX}/bin/sb + @rm -f ${DESTDIR}${PREFIX}/bin/mt .PHONY: all options clean dist install uninstall |