Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
st now runs on Linux, OpenBSD and FreeBSD.
[st.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
9ec8d21
..
ef3bf09
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-10,6
+10,7
@@
all: options st
options:
@echo st build options:
options:
@echo st build options:
+ @echo "SYSTEM = ${SYSTEM}"
@echo "CFLAGS = ${CFLAGS}"
@echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}"
@echo "CFLAGS = ${CFLAGS}"
@echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}"
@@
-31,7
+32,7
@@
clean:
dist: clean
@echo creating dist tarball
@mkdir -p st-${VERSION}
dist: clean
@echo creating dist tarball
@mkdir -p st-${VERSION}
- @cp -R LICENSE Makefile README config.mk
st.h
${SRC} st-${VERSION}
+ @cp -R LICENSE Makefile README config.mk
config.h st.info
${SRC} st-${VERSION}
@tar -cf st-${VERSION}.tar st-${VERSION}
@gzip st-${VERSION}.tar
@rm -rf st-${VERSION}
@tar -cf st-${VERSION}.tar st-${VERSION}
@gzip st-${VERSION}.tar
@rm -rf st-${VERSION}
@@
-41,7
+42,7
@@
install: all
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f st ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/st
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f st ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/st
- @tic st.info
+ @tic
-s
st.info
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin
uninstall:
@echo removing executable file from ${DESTDIR}${PREFIX}/bin