add CC=gcc for linux compilation. I hate autotools

This commit is contained in:
tTh
2018-11-16 12:52:33 +01:00
parent 3fba5b69a9
commit d6fde6312f
2 changed files with 5 additions and 4 deletions

View File

@@ -5,13 +5,14 @@
#############################################
OPT = -Wall -g -DDEBUG_LEVEL=1 -DMUST_ABORT
CC = gcc
bubulles.o: bubulles.c bubulles.h Makefile
clang $(OPT) -c $<
$(CC) $(OPT) -c $<
#
# --- build some tests and tools
tbb: tbb.c bubulles.h bubulles.o Makefile
clang $(OPT) $< bubulles.o -o tbb
$(CC) $(OPT) $< bubulles.o -o tbb
#############################################