summaryrefslogtreecommitdiff
path: root/st
diff options
context:
space:
mode:
Diffstat (limited to 'st')
-rw-r--r--st/Makefile7
-rw-r--r--st/config.def.h (renamed from st/config.h)0
2 files changed, 5 insertions, 2 deletions
diff --git a/st/Makefile b/st/Makefile
index ca2c21c..da95823 100644
--- a/st/Makefile
+++ b/st/Makefile
@@ -15,6 +15,9 @@ options:
@echo "LDFLAGS = $(STLDFLAGS)"
@echo "CC = $(CC)"
+config.h:
+ cp config.def.h config.h
+
.c.o:
$(CC) $(STCFLAGS) -c $<
@@ -29,12 +32,12 @@ st: $(OBJ)
$(CC) -o $@ $(OBJ) $(STLDFLAGS)
clean:
- rm -f st $(OBJ) st-$(VERSION).tar.gz *.rej *.orig *.o
+ rm -f st $(OBJ) st-$(VERSION).tar.gz
dist: clean
mkdir -p st-$(VERSION)
cp -R FAQ LEGACY TODO LICENSE Makefile README config.mk\
- config.h st.info st.1 arg.h st.h win.h $(SRC)\
+ config.def.h st.info st.1 arg.h st.h win.h $(SRC)\
st-$(VERSION)
tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz
rm -rf st-$(VERSION)
diff --git a/st/config.h b/st/config.def.h
index 453a78b..453a78b 100644
--- a/st/config.h
+++ b/st/config.def.h