From 9beab3f1e532307c9f7c16a79f84823312e19c0f Mon Sep 17 00:00:00 2001 From: "S. Gilles" Date: Fri, 6 Jan 2017 15:05:32 -0500 Subject: [PATCH] Use $(CC) for linking, POSIX says it's okay --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 31f8511..630daf1 100644 --- a/Makefile +++ b/Makefile @@ -29,13 +29,13 @@ default: all all: $(SDLPROG) $(TEXTPROG) $(MUTFINDPROG) $(SDLPROG): clav.o quiver.o ui-sdl.o file-selection.o - $(LD) -o $@ $^ $(LDFLAGS) -lm $(shell pkg-config --libs sdl2 SDL2_ttf) + $(CC) -o $@ $^ $(LDFLAGS) -lm $(shell pkg-config --libs sdl2 SDL2_ttf) $(TEXTPROG): clav.o quiver.o ui-cli.o - $(LD) -o $@ $^ $(LDFLAGS) + $(CC) -o $@ $^ $(LDFLAGS) $(MUTFINDPROG): mutation-finder.o quiver.o - $(LD) -o $@ $^ $(LDFLAGS) + $(CC) -o $@ $^ $(LDFLAGS) clav.o: clav.c macros.h ui.h quiver.h $(CC) $(CFLAGS) -c -o $@ $< -- 2.11.4.GIT