Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
mouse shortcuts: allow override for all shortcuts
[st.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
f5b84a0
..
470ac86
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-11,30
+11,32
@@
all: options st
options:
@echo st build options:
options:
@echo st build options:
- @echo "CFLAGS = $(CFLAGS)"
- @echo "LDFLAGS = $(LDFLAGS)"
+ @echo "CFLAGS = $(
ST
CFLAGS)"
+ @echo "LDFLAGS = $(
ST
LDFLAGS)"
@echo "CC = $(CC)"
config.h:
cp config.def.h config.h
.c.o:
@echo "CC = $(CC)"
config.h:
cp config.def.h config.h
.c.o:
- $(CC) $(CFLAGS) -c $<
+ $(CC) $(
ST
CFLAGS) -c $<
st.o: config.h st.h win.h
st.o: config.h st.h win.h
-x.o: arg.h st.h win.h
+x.o: arg.h
config.h
st.h win.h
$(OBJ): config.h config.mk
st: $(OBJ)
$(OBJ): config.h config.mk
st: $(OBJ)
- $(CC)
$(LDFLAGS) -o $@ $(OBJ
)
+ $(CC)
-o $@ $(OBJ) $(STLDFLAGS
)
clean:
rm -f st $(OBJ) st-$(VERSION).tar.gz
dist: clean
mkdir -p st-$(VERSION)
clean:
rm -f st $(OBJ) st-$(VERSION).tar.gz
dist: clean
mkdir -p st-$(VERSION)
- cp -R LICENSE Makefile README config.mk config.def.h st.info st.1 arg.h $(SRC) 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-$(VERSION)
tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz
rm -rf st-$(VERSION)
tar -cf - st-$(VERSION) | gzip > st-$(VERSION).tar.gz
rm -rf st-$(VERSION)