Skip to content
This repository was archived by the owner on Oct 5, 2021. It is now read-only.

Commit 5ad1f87

Browse files
patrickelectrictormodvolden
authored andcommitted
Makefile: Check if CC and AR are defined
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent ee5b009 commit 5ad1f87

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
PREFIX = /usr/local
22
CFLAGS += -Wall -g
33

4+
ifndef CC
5+
$(error CC is not defined)
6+
endif
7+
8+
ifndef AR
9+
$(error AR is not defined)
10+
endif
11+
412
INSTALL = install
513

614
OBJS = dev_table.o \

0 commit comments

Comments
 (0)