Skip to content
Snippets Groups Projects
Commit 7270083b authored by Robert David Graham's avatar Robert David Graham
Browse files

clang or gcc

parent 00f2b519
No related branches found
No related tags found
No related merge requests found
#use llvm by default, GNU C otherwise
CC=$(shell which clang || which gcc)
PREFIX ?= /usr
BINDIR ?= $(PREFIX)/bin
SYS := $(shell gcc -dumpmachine)
......@@ -65,8 +68,6 @@ INCLUDES = -I.
FLAGS2 =
endif
# this works on llvm or real gcc
CC = clang
DEFINES =
CFLAGS = -g -ggdb $(FLAGS2) $(INCLUDES) $(DEFINES) -Wall -O3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment