scc

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

commit 25bac1a306eed889cd22ac809776bf29fdef9078
parent 94f52c8e839f1c5372ea532db9c8b91bd39d127c
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