scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 9a40ee5c8c5466c8324204c8a185e8b2dd2dac0b
parent d3e654ade40320f6b68b2834521124580cb0c74b
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 19 Aug 2019 17:01:30 +0100

[ld] Add library dependencies to Makefile

Diffstat:
Msrc/cmd/ld/Makefile | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/cmd/ld/Makefile b/src/cmd/ld/Makefile @@ -9,12 +9,11 @@ OBJS = main.o \ pass1.o \ pass2.o \ pass3.o \ - + pass4.o \ all: $(TARGET) -#TODO Add library dependencies -$(TARGET): $(OBJS) +$(TARGET): $(OBJS) $(LIBDIR)/libscc.a $(LIBDIR)/libmach.a $(CC) $(SCC_LDFLAGS) $(OBJS) -lmach -lscc -o $@ dep: inc-dep