X-Git-Url: http://git.armaanb.net/?a=blobdiff_plain;f=Makefile;h=b6e7e335ce8b7200804a198283e0d1dfc1560da6;hb=a1e3655fcb03dd6a2d8488bab97271fe9d6cbff5;hp=38240da745340dc0beac7f518deb206ab3d4b852;hpb=8e5eb10c40b75df8ebc6f8545305789d7fda1e53;p=st.git diff --git a/Makefile b/Makefile index 38240da..b6e7e33 100644 --- a/Makefile +++ b/Makefile @@ -15,17 +15,14 @@ options: @echo "LDFLAGS = $(STLDFLAGS)" @echo "CC = $(CC)" -config.h: - cp config.def.h config.h - .c.o: $(CC) $(STCFLAGS) -c $< -st.o: config.h st.h win.h -x.o: arg.h config.h st.h win.h hb.h +st.o: st.h win.h +x.o: arg.h st.h win.h hb.h hb.o: st.h -$(OBJ): config.h config.mk +$(OBJ): config.mk st: $(OBJ) $(CC) -o $@ $(OBJ) $(STLDFLAGS) @@ -36,7 +33,7 @@ clean: dist: clean mkdir -p st-$(VERSION) cp -R FAQ LEGACY TODO LICENSE Makefile README config.mk\ - config.def.h st.info st.1 arg.h st.h win.h $(SRC)\ + 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)