X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=dcbbbcfd9a09be229f3df2bf08ec492bcc2849f9;hb=5f287254715dd91f2c508a2a6b9853f0ef4ed785;hp=c4d0b1a3ec2b3ee4e16d143115493c2535a368e5;hpb=1987ae4bacf58c588bbc967434be4e39125c37f9;p=st.git diff --git a/Makefile b/Makefile index c4d0b1a..dcbbbcf 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ include config.mk -SRC = st +SRC = st.c std.c util.c pty.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