mirror of https://github.com/lindes/ttyload.git
now using some ldflags, on certain platforms.
This commit is contained in:
parent
9aa0f0304e
commit
59d20accb3
3
Makefile
3
Makefile
|
@ -7,6 +7,7 @@
|
|||
INSTALLDIR = /usr/local/bin
|
||||
|
||||
ARCH = `uname -s`
|
||||
LDFLAGS = `./ldflags`
|
||||
|
||||
OBJS = arch/${ARCH}/getload.o arch/default/homebrews.o
|
||||
|
||||
|
@ -42,7 +43,7 @@ ttyload.c: ttyload.h Version
|
|||
|
||||
# have to be explicit here, for some make systems, like .c.o below:
|
||||
ttyload: $(OBJS) ttyload.o
|
||||
$(CC) -o $@ $(OBJS) ttyload.o
|
||||
$(CC) $(LDFLAGS) -o $@ $(OBJS) ttyload.o
|
||||
|
||||
clean:
|
||||
rm -f *.o $(OBJS) core a.out
|
||||
|
|
Loading…
Reference in New Issue