aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile47
1 files changed, 32 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 444651c..641e0b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,31 @@
-# multi-terminal - a simple gtk terminal
+# svte: simple virtual terminal emulator: minimal, tabbed, VTE-based terminal
+# Copyright 2010 svte contributors.
+#
+# This file is part of svte.
+#
+# svte is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
include config.mk
-SRC = mt.c
+SRC = svte.c
OBJ = ${SRC:.c=.o}
-all: options mt
+all: options svte
options:
- @echo mt build options:
+ @echo svte build options:
@echo "CFLAGS = ${CFLAGS}"
@echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}"
@@ -20,31 +37,31 @@ options:
${OBJ}: config.mk
-mt: ${OBJ}
+svte: ${OBJ}
@echo CC -o $@
- @${CC} -o $@ mt.o ${LDFLAGS}
+ @${CC} -o $@ svte.o ${LDFLAGS}
clean:
@echo cleaning
- @rm -f mt ${OBJ} mt-${VERSION}.tar.gz
+ @rm -f svte ${OBJ} mt-${VERSION}.tar.gz
dist: clean
@echo creating dist tarball
- @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}
+ @mkdir -p svte-${VERSION}
+ @cp -R Makefile config.mk ${SRC} svte-${VERSION}
+ @tar -cf svte-${VERSION}.tar mt-${VERSION}
+ @gzip svte-${VERSION}.tar
+ @rm -rf svte-${VERSION}
install: all
@echo installing executable file to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${PREFIX}/bin
- @cp -f mt ${DESTDIR}${PREFIX}/bin
- @chmod 755 ${DESTDIR}${PREFIX}/bin/mt
+ @cp -f svte ${DESTDIR}${PREFIX}/bin
+ @chmod 755 ${DESTDIR}${PREFIX}/bin/svte
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
- @rm -f ${DESTDIR}${PREFIX}/bin/mt
+ @rm -f ${DESTDIR}${PREFIX}/bin/svte
.PHONY: all options clean dist install uninstall