diff options
author | Quentin Rameau <quinq@fifth.space> | 2017-07-12 00:26:35 +0200 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2017-07-12 00:28:11 +0200 |
commit | d4928edba0fe2cc63b3bc13fd6dad0bcb875174e (patch) | |
tree | b8588187f92b1920e5b1efa155dd441058418a3d /Makefile | |
parent | fabd4602b3223666165c76c397644a081b9a97e5 (diff) |
Let the user specify C and LD FLAGS
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,15 +11,15 @@ all: options st options: @echo st build options: - @echo "CFLAGS = $(CFLAGS)" - @echo "LDFLAGS = $(LDFLAGS)" + @echo "CFLAGS = $(STCFLAGS)" + @echo "LDFLAGS = $(STLDFLAGS)" @echo "CC = $(CC)" config.h: cp config.def.h config.h .c.o: - $(CC) $(CFLAGS) -c $< + $(CC) $(STCFLAGS) -c $< st.o: config.h st.h win.h x.o: arg.h st.h win.h @@ -27,7 +27,7 @@ x.o: arg.h st.h win.h $(OBJ): config.h config.mk st: $(OBJ) - $(CC) $(LDFLAGS) -o $@ $(OBJ) + $(CC) $(STLDFLAGS) -o $@ $(OBJ) clean: rm -f st $(OBJ) st-$(VERSION).tar.gz |