diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2008-06-01 18:04:49 +0100 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2008-06-01 18:04:49 +0100 |
commit | 2803f76fa88a25e9ba92d36f63c301e0f7196320 (patch) | |
tree | 14c45cdfc1ecf7a3c86e7d19f993c71b54f54442 | |
parent | d272d5a95e3ca34f4260b3e4dece25833cae7dfa (diff) | |
download | st-2803f76fa88a25e9ba92d36f63c301e0f7196320.tar.gz st-2803f76fa88a25e9ba92d36f63c301e0f7196320.tar.bz2 |
slight changes
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | st.c | 2 |
2 files changed, 4 insertions, 8 deletions
@@ -3,7 +3,7 @@ include config.mk -SRC = st +SRC = st.c std.c OBJ = ${SRC:.c=.o} all: options st @@ -18,11 +18,7 @@ options: @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 @@ clean: 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 @@ -2,7 +2,7 @@ #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) |