From ee00eec0005a3694f6ff08eaa24075a643dbaeed Mon Sep 17 00:00:00 2001 From: tonton Th Date: Sat, 9 May 2020 21:44:10 +0200 Subject: [PATCH] first corona patch --- Makefile | 2 +- README.md | 8 ++++++++ README.txt | 14 -------------- bubulles.h | 5 +++-- install.sh | 7 +++++++ 5 files changed, 19 insertions(+), 17 deletions(-) create mode 100644 README.md delete mode 100644 README.txt create mode 100755 install.sh diff --git a/Makefile b/Makefile index 54ca637..90f4f4a 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,6 @@ CC = gcc OPT = -Wall -g -DDEBUG_LEVEL=0 -DMUST_ABORT -CC = gcc libbubulles.a: bubulles.o ar r $@ $? @@ -19,6 +18,7 @@ libbubulles.a: bubulles.o bubulles.o: bubulles.c bubulles.h Makefile $(CC) $(OPT) -c $< +# ------------------------------------------------ # --- build some tests and tools tbb: tbb.c bubulles.h bubulles.o Makefile diff --git a/README.md b/README.md new file mode 100644 index 0000000..ff3effc --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# | lib bubulles | + +Looking at the Makefile is a good idea. + +for compiling on FreeBSD : $ gmake CC=clang tbb + +Stay tuned, film at 11. + diff --git a/README.txt b/README.txt deleted file mode 100644 index 7e91cb7..0000000 --- a/README.txt +++ /dev/null @@ -1,14 +0,0 @@ - - +-------------------------+ - | lib bubulles | - +-------------------------+ - - /!\ warnings /!\ - - * This kludge was mainly build on FreeBSD, so ymmv. - * But you have to use GNU make, iirc... - * Looking at the Makefile is a good idea. - - * for compiling on FreeBSD : - $ gmake CC=clang tbb - diff --git a/bubulles.h b/bubulles.h index 0921bc0..df8a9c5 100644 --- a/bubulles.h +++ b/bubulles.h @@ -4,7 +4,7 @@ /* --------------------------------------------------------------------- */ -#define LIBBB_VERSION 51 +#define LIBBB_VERSION 52 #define SZ_BUBULLE_TEXT 51 /* arbitrary value */ @@ -60,8 +60,9 @@ void bubulles_sizeof(int k); Bubulle * bubulle_getaddr(BBList *where, int idx); /* - * export functions + * export functions for everything */ +/* TO BE DONE XXX */ /* * export Awk machinable. diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..74ccd71 --- /dev/null +++ b/install.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +ID="/usr/local" + +cp bubulles.h $ID/include/ +cp libbubulles.a $ID/lib/ +