diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,15 +11,15 @@ all: options st | |||
11 | 11 | ||
12 | options: | 12 | options: |
13 | @echo st build options: | 13 | @echo st build options: |
14 | @echo "CFLAGS = $(CFLAGS)" | 14 | @echo "CFLAGS = $(STCFLAGS)" |
15 | @echo "LDFLAGS = $(LDFLAGS)" | 15 | @echo "LDFLAGS = $(STLDFLAGS)" |
16 | @echo "CC = $(CC)" | 16 | @echo "CC = $(CC)" |
17 | 17 | ||
18 | config.h: | 18 | config.h: |
19 | cp config.def.h config.h | 19 | cp config.def.h config.h |
20 | 20 | ||
21 | .c.o: | 21 | .c.o: |
22 | $(CC) $(CFLAGS) -c $< | 22 | $(CC) $(STCFLAGS) -c $< |
23 | 23 | ||
24 | st.o: config.h st.h win.h | 24 | st.o: config.h st.h win.h |
25 | x.o: arg.h st.h win.h | 25 | x.o: arg.h st.h win.h |
@@ -27,7 +27,7 @@ x.o: arg.h st.h win.h | |||
27 | $(OBJ): config.h config.mk | 27 | $(OBJ): config.h config.mk |
28 | 28 | ||
29 | st: $(OBJ) | 29 | st: $(OBJ) |
30 | $(CC) $(LDFLAGS) -o $@ $(OBJ) | 30 | $(CC) $(STLDFLAGS) -o $@ $(OBJ) |
31 | 31 | ||
32 | clean: | 32 | clean: |
33 | rm -f st $(OBJ) st-$(VERSION).tar.gz | 33 | rm -f st $(OBJ) st-$(VERSION).tar.gz |