all repos — st @ 375efb8891a2d131d46f1582fd770d34464094e0

st (suckless terminal) config

slight changes
Anselm R Garbe garbeam@gmail.com
commit

375efb8891a2d131d46f1582fd770d34464094e0

parent

771ece25e89882a39700d0a24febbda42363d2ef

2 files changed, 4 insertions(+), 8 deletions(-)

jump to
M MakefileMakefile

@@ -3,7 +3,7 @@ # See LICENSE file for copyright and license details.

include config.mk -SRC = st +SRC = st.c std.c OBJ = ${SRC:.c=.o} all: options st

@@ -18,11 +18,7 @@ .c.o:

@echo CC $< @${CC} -c ${CFLAGS} $< -${OBJ}: config.h config.mk - -config.h: - @echo creating $@ from config.def.h - @cp config.def.h $@ +${OBJ}: config.mk st: ${OBJ} @echo CC -o $@

@@ -35,7 +31,7 @@

dist: clean @echo creating dist tarball @mkdir -p st-${VERSION} - @cp -R LICENSE Makefile README config.def.h config.mk \ + @cp -R LICENSE Makefile README config.mk \ st.1 ${SRC} st-${VERSION} @tar -cf st-${VERSION}.tar st-${VERSION} @gzip st-${VERSION}.tar
M st.cst.c

@@ -2,7 +2,7 @@ /* See LICENSE file for copyright and license details. */

#include <stdio.h> int -main(int argc, char *argv[]) { +Xmain(int argc, char *argv[]) { if(argc == 2 && !strcmp("-v", argv[1])) eprint("st-"VERSION", © 2007-2008 st engineers, see LICENSE for details\n"); else if(argc != 1)