From 779a1cceae80608bb0976d20f69a6ded0d27b2d5 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 29 May 2017 09:02:02 -0400 Subject: [PATCH] Don't assume gcc. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 362f586..8a30613 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,10 @@ OBJS=main.o init.o actions1.o actions2.o score.o misc.o database.o SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO advent.text control .c.o: - gcc -O $(DBX) -c $< + $(CC) -O $(DBX) -c $< advent: $(OBJS) - gcc -Wall -std=c99 -O $(DBX) -o advent $(OBJS) $(LIBS) + $(CC) -Wall -std=c99 -O $(DBX) -o advent $(OBJS) $(LIBS) main.o: main.h misc.h funcs.h database.h @@ -29,7 +29,7 @@ misc.o: misc.h main.h database.h database.c database.h: compile ./compile - gcc $(OPTIONS) -O $(DBX) -c database.c + $(CC) $(OPTIONS) -O $(DBX) -c database.c clean: rm -f *.o advent advent.html advent.6 database.[ch] compile -- 2.31.1