Merge branch 'chneukirchen-ldflags' - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 7f350c19ce7da08c0151abf5228ebe083d6d6826
(DIR) parent 6102b90dfd41b8b29dc0b2d9c331b89caae232e0
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Mon, 23 May 2016 10:11:36 -0500
Merge branch 'chneukirchen-ldflags'
Diffstat:
libXg/Makefile | 2 +-
sam/Makefile | 2 +-
samterm/Makefile | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/libXg/Makefile b/libXg/Makefile
@@ -41,7 +41,7 @@ OBJS= arc.o arith.o balloc.o bitblt.o bitbltclip.o border.o bscreenrect.o\
all install: $(LIB)
compile: $(LIB)
test: $(LIB) test.o
- $(CC) -o $@ $? $(LIB) $(XLIBS) -lm
+ $(CC) -o $@ $? $(LIB) $(XLIBS) -lm $(LDFLAGS)
echo try running test
clean:
rm -f *.o test *.a
(DIR) diff --git a/sam/Makefile b/sam/Makefile
@@ -66,7 +66,7 @@ OBJ=sam.o address.o buffer.o cmd.o disc.o error.o file.o io.o \
all: sam
sam: $(OBJ) $(LIB)
- $(CC) -o sam $(OBJ) $(LIB)
+ $(CC) -o sam $(OBJ) $(LIB) $(LDFLAGS)
clean:
rm -f *.o core sam
(DIR) diff --git a/samterm/Makefile b/samterm/Makefile
@@ -38,7 +38,7 @@ OBJ=main.o flayer.o icons.o io.o menu.o mesg.o rasp.o scroll.o unix.o
all: samterm
samterm: $(OBJ) $(LIBS)
- $(CC) -o samterm $(OBJ) $(LIBS) $(XLIBS)
+ $(CC) -o samterm $(OBJ) $(LIBS) $(XLIBS) $(LDFLAGS)
clean:
rm -f *.o core samterm