aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-06-01 18:04:49 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-06-01 18:04:49 +0100
commit375efb8891a2d131d46f1582fd770d34464094e0 (patch)
tree14c45cdfc1ecf7a3c86e7d19f993c71b54f54442 /Makefile
parent771ece25e89882a39700d0a24febbda42363d2ef (diff)
downloadst-patched-375efb8891a2d131d46f1582fd770d34464094e0.tar.bz2
st-patched-375efb8891a2d131d46f1582fd770d34464094e0.tar.xz
st-patched-375efb8891a2d131d46f1582fd770d34464094e0.zip
slight changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index c4d0b1a..cf1766c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
3 3
4include config.mk 4include config.mk
5 5
6SRC = st 6SRC = st.c std.c
7OBJ = ${SRC:.c=.o} 7OBJ = ${SRC:.c=.o}
8 8
9all: options st 9all: options st
@@ -18,11 +18,7 @@ options:
18 @echo CC $< 18 @echo CC $<
19 @${CC} -c ${CFLAGS} $< 19 @${CC} -c ${CFLAGS} $<
20 20
21${OBJ}: config.h config.mk 21${OBJ}: config.mk
22
23config.h:
24 @echo creating $@ from config.def.h
25 @cp config.def.h $@
26 22
27st: ${OBJ} 23st: ${OBJ}
28 @echo CC -o $@ 24 @echo CC -o $@
@@ -35,7 +31,7 @@ clean:
35dist: clean 31dist: clean
36 @echo creating dist tarball 32 @echo creating dist tarball
37 @mkdir -p st-${VERSION} 33 @mkdir -p st-${VERSION}
38 @cp -R LICENSE Makefile README config.def.h config.mk \ 34 @cp -R LICENSE Makefile README config.mk \
39 st.1 ${SRC} st-${VERSION} 35 st.1 ${SRC} st-${VERSION}
40 @tar -cf st-${VERSION}.tar st-${VERSION} 36 @tar -cf st-${VERSION}.tar st-${VERSION}
41 @gzip st-${VERSION}.tar 37 @gzip st-${VERSION}.tar