2018-11-10 11:31:31 +01:00
|
|
|
|
|
|
|
#############################################
|
|
|
|
# making the bubulles library
|
2018-11-16 15:31:33 +01:00
|
|
|
# maybe must be run with gmake on FreeBSD
|
2018-11-10 11:31:31 +01:00
|
|
|
#############################################
|
|
|
|
|
2018-11-16 15:31:33 +01:00
|
|
|
CC = gcc
|
|
|
|
|
2018-11-10 11:31:31 +01:00
|
|
|
OPT = -Wall -g -DDEBUG_LEVEL=1 -DMUST_ABORT
|
2018-11-16 12:52:33 +01:00
|
|
|
CC = gcc
|
2018-11-10 11:31:31 +01:00
|
|
|
|
|
|
|
bubulles.o: bubulles.c bubulles.h Makefile
|
2018-11-16 12:52:33 +01:00
|
|
|
$(CC) $(OPT) -c $<
|
2018-11-10 12:22:28 +01:00
|
|
|
|
2018-11-16 12:52:33 +01:00
|
|
|
# --- build some tests and tools
|
2018-11-10 12:22:28 +01:00
|
|
|
|
2018-11-10 11:31:31 +01:00
|
|
|
tbb: tbb.c bubulles.h bubulles.o Makefile
|
2018-11-16 12:52:33 +01:00
|
|
|
$(CC) $(OPT) $< bubulles.o -o tbb
|
2018-11-10 11:31:31 +01:00
|
|
|
|
|
|
|
#############################################
|