first corona patch

This commit is contained in:
tonton Th 2020-05-09 21:44:10 +02:00
parent 94aecb1155
commit ee00eec000
5 changed files with 19 additions and 17 deletions

View File

@ -11,7 +11,6 @@
CC = gcc CC = gcc
OPT = -Wall -g -DDEBUG_LEVEL=0 -DMUST_ABORT OPT = -Wall -g -DDEBUG_LEVEL=0 -DMUST_ABORT
CC = gcc
libbubulles.a: bubulles.o libbubulles.a: bubulles.o
ar r $@ $? ar r $@ $?
@ -19,6 +18,7 @@ libbubulles.a: bubulles.o
bubulles.o: bubulles.c bubulles.h Makefile bubulles.o: bubulles.c bubulles.h Makefile
$(CC) $(OPT) -c $< $(CC) $(OPT) -c $<
# ------------------------------------------------
# --- build some tests and tools # --- build some tests and tools
tbb: tbb.c bubulles.h bubulles.o Makefile tbb: tbb.c bubulles.h bubulles.o Makefile

8
README.md Normal file
View File

@ -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.

View File

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

View File

@ -4,7 +4,7 @@
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
#define LIBBB_VERSION 51 #define LIBBB_VERSION 52
#define SZ_BUBULLE_TEXT 51 /* arbitrary value */ #define SZ_BUBULLE_TEXT 51 /* arbitrary value */
@ -60,8 +60,9 @@ void bubulles_sizeof(int k);
Bubulle * bubulle_getaddr(BBList *where, int idx); Bubulle * bubulle_getaddr(BBList *where, int idx);
/* /*
* export functions * export functions for everything
*/ */
/* TO BE DONE XXX */
/* /*
* export Awk machinable. * export Awk machinable.

7
install.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
ID="/usr/local"
cp bubulles.h $ID/include/
cp libbubulles.a $ID/lib/