diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2021-11-06 21:02:26 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2021-11-06 21:02:26 -0700 |
| commit | e8e1c62ce069e6f5a1ede5cd2d7824cb7492583f (patch) | |
| tree | 621f87a4979636d4ae5901542dce483406894058 /Makefile | |
| parent | 072e1764185eb5f9e60414dda41194d09d2bdf38 (diff) | |
updated
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -15,9 +15,6 @@ options: @echo "LDFLAGS = $(STLDFLAGS)" @echo "CC = $(CC)" -config.h: - cp config.def.h config.h - .c.o: $(CC) $(STCFLAGS) -c $< @@ -32,17 +29,19 @@ st: $(OBJ) $(CC) -o $@ $(OBJ) $(STLDFLAGS) clean: - rm -f st $(OBJ) st-$(VERSION).tar.gz *.o *.orig *.rej + rm -f st $(OBJ) st-$(VERSION).tar.gz *.rej *.orig *.o 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)\ + config.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) install: st + git submodule init + git submodule update mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f st $(DESTDIR)$(PREFIX)/bin cp -f st-copyout $(DESTDIR)$(PREFIX)/bin |
