Skip to content

Commit f0af601

Browse files
committed
Makefile: make CC and AR assignments ?=
1 parent 3b0e85f commit f0af601

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ lib_a = lib$(name).a
88
incpaths = -I. -I/usr/local/include -I/usr/X11R6/include
99
libpaths = -L/usr/local/lib -L/usr/X11R6/lib
1010

11-
CC = gcc
12-
AR = ar
11+
CC ?= gcc
12+
AR ?= ar
1313
CFLAGS = $(opt) $(dbg) -std=c89 $(pic) -pedantic -Wall -fno-strict-aliasing $(incpaths) $(user_cflags)
1414
LDFLAGS = $(libpaths) $(user_ldflags) $(xlib)
1515

0 commit comments

Comments
 (0)