cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 52eed9336c2cb8cd68ea04be6a71471bef1dcc5e
parent 4ac18e485be440a0fc7312c0c7589870aeeef58a
Author: Michael Forney <mforney@mforney.org>
Date:   Fri, 22 Feb 2019 21:06:01 -0800

Don't need CFLAGS with linking

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -17,7 +17,7 @@ config.h: @cp config.def.h $@ cc: $(DRIVER_OBJ) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(DRIVER_OBJ) + $(CC) $(LDFLAGS) -o $@ $(DRIVER_OBJ) SRC=\ decl.c\ @@ -63,6 +63,7 @@ qbe.o : $(srcdir)/qbe.c $(stagedeps) ; $(CC) $(CFLAGS) -c -o $@ $< stage2: cc cc-qbe @mkdir -p $@ $(MAKE) -C $@ -f ../$(srcdir)/Makefile srcdir=../$(srcdir) stagedeps='../cc ../cc-qbe' CC=../cc + .PHONY: stage3 stage3: stage2 @mkdir -p $@