diff options
-rw-r--r-- | Makefile | 51 | ||||
-rw-r--r-- | README | 25 | ||||
-rw-r--r-- | config.mk | 28 | ||||
-rw-r--r-- | mt.c | 0 |
4 files changed, 104 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7bd468f --- /dev/null +++ b/Makefile @@ -0,0 +1,51 @@ +# surf - simple browser +# See LICENSE file for copyright and license details. + +include config.mk + +SRC = sb.c +OBJ = ${SRC:.c=.o} + +all: options sb + +options: + @echo sb build options: + @echo "CFLAGS = ${CFLAGS}" + @echo "LDFLAGS = ${LDFLAGS}" + @echo "CC = ${CC}" + +.c.o: + @echo CC $< + @${CC} -c ${CFLAGS} $< + +${OBJ}: config.mk + + +sb: ${OBJ} + @echo CC -o $@ + @${CC} -o $@ sb.o ${LDFLAGS} + +clean: + @echo cleaning + @rm -f sb ${OBJ} sb-${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} + +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 + +uninstall: + @echo removing executable file from ${DESTDIR}${PREFIX}/bin + @rm -f ${DESTDIR}${PREFIX}/bin/sb + + +.PHONY: all options clean dist install uninstall @@ -0,0 +1,25 @@ +Todo/Goals: + +create terminal. xD +tabbing +callbacks +stuff like that +color schemes +rcfile + +mt - multi-terminal: a simple, tabbed, VTE based terminal that aims to simple, flexible, and maintain a ridiculously small codebase + +Basically another minimal GTK incarnation of gtk's VTE integration. + +I was looking for a alternative to Sakura, but is tabbed and gtk based. + + +Bugs: + + +None + + +Swing me some electronic mail :) mutantturkey@gmail.com + + diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..30e8f87 --- /dev/null +++ b/config.mk @@ -0,0 +1,28 @@ +# mocicon version: +VERSION = 0.1.4 + +# Customize below to fit your system + +# paths +PREFIX = /usr +MANPREFIX = ${PREFIX}/share/man + + +# includes and libs + +GTKINC=$(shell pkg-config --cflags gtk+-2.0 vte ) +GTKLIB=$(shell pkg-config --libs gtk+-2.0 vte ) + +INCS = -I. -I/usr/include ${GTKINC} +LIBS = -L/usr/lib -lc ${GTKLIB} +# flags +CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CFLAGS = -std=c99 -O3 ${INCS} ${CPPFLAGS} +LDFLAGS = -s ${LIBS} + +# Solaris +#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} + +# compiler and linker +CC = cc |