Skip to content

Commit 15078ba

Browse files
committed
Allow user to customize build environment
1 parent 7bdf81a commit 15078ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ DATIDIR := $(DESTDIR)$(PREFIX)/share/games/harris
88
# User directories (relative to $HOME)
99
USAVDIR := .local/share/harris
1010

11-
CC := gcc
12-
CFLAGS := -Wall -Wextra -Werror -pedantic --std=gnu99 -g -DDATIDIR=\"$(DATIDIR)\" -DUSAVDIR=\"$(USAVDIR)\"
11+
CC ?= gcc
12+
CFLAGS += -Wall -Wextra -Werror -pedantic --std=gnu99 -g -DDATIDIR=\"$(DATIDIR)\" -DUSAVDIR=\"$(USAVDIR)\"
1313

1414
LIBS := -latg -lm
1515
INTEL_OBJS := intel_bombers.o intel_fighters.o intel_targets.o

0 commit comments

Comments
 (0)