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
#############################################

2
tbb.c
View File

@ -116,7 +116,7 @@ int foo;
printf("*** Bubulles Testing -- %s %s\n\n", __DATE__, __TIME__);
bubulles_version(0);
bubulles_version(1);
test_alloc_free(5);
test_push_pop(2000);