diff options
| author | Shivesh Mandalia <mail@shivesh.org> | 2023-02-11 20:49:06 +0000 |
|---|---|---|
| committer | Shivesh Mandalia <mail@shivesh.org> | 2023-02-11 20:49:06 +0000 |
| commit | 1c3039d21a53d533991a316816d0b7a5c5fdbc51 (patch) | |
| tree | d7f19c9723fb9e4179fa243993dc6d7eee0b21ce | |
| parent | be156b33d1e38031e2bdc527d22262bf65ce98b9 (diff) | |
| download | st-1c3039d21a53d533991a316816d0b7a5c5fdbc51.tar.gz st-1c3039d21a53d533991a316816d0b7a5c5fdbc51.zip | |
compile with gcc, fix compile error, restore st desktop install
| -rw-r--r-- | Makefile | 5 | ||||
| -rw-r--r-- | config.h | 2 | ||||
| -rw-r--r-- | config.mk | 2 |
3 files changed, 4 insertions, 5 deletions
@@ -50,12 +50,11 @@ install: st tic -sx st.info @echo Please see the README file regarding the terminfo entry of st. mkdir -p $(DESTDIR)$(PREFIX)/share/applications - # Use tabbed to launch st - # cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications + cp -f st.desktop $(DESTDIR)$(PREFIX)/share/applications uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/st rm -f $(DESTDIR)$(MANPREFIX)/man1/st.1 - # rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop + rm -f $(DESTDIR)$(PREFIX)/share/applications/st.desktop .PHONY: all options clean dist install uninstall @@ -138,7 +138,7 @@ static const char *colorname[] = { */ unsigned int defaultfg = 258; unsigned int defaultbg = 259; -static unsigned int defaultcs = 256; +unsigned int defaultcs = 256; static unsigned int defaultrcs = 257; /* @@ -38,4 +38,4 @@ STLDFLAGS = $(LIBS) $(LDFLAGS) #MANPREFIX = ${PREFIX}/man # compiler and linker -CC = tcc +CC = gcc |
