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)
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 @@
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