add CC=gcc for linux compilation. I hate autotools
This commit is contained in:
parent
3fba5b69a9
commit
d6fde6312f
7
Makefile
7
Makefile
@ -5,13 +5,14 @@
|
|||||||
#############################################
|
#############################################
|
||||||
|
|
||||||
OPT = -Wall -g -DDEBUG_LEVEL=1 -DMUST_ABORT
|
OPT = -Wall -g -DDEBUG_LEVEL=1 -DMUST_ABORT
|
||||||
|
CC = gcc
|
||||||
|
|
||||||
bubulles.o: bubulles.c bubulles.h Makefile
|
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
|
tbb: tbb.c bubulles.h bubulles.o Makefile
|
||||||
clang $(OPT) $< bubulles.o -o tbb
|
$(CC) $(OPT) $< bubulles.o -o tbb
|
||||||
|
|
||||||
#############################################
|
#############################################
|
||||||
|
Loading…
Reference in New Issue
Block a user