Browse Source

first corona patch

master
tonton Th 2 years ago
parent
commit
ee00eec000
  1. 2
      Makefile
  2. 8
      README.md
  3. 14
      README.txt
  4. 5
      bubulles.h
  5. 7
      install.sh

2
Makefile

@ -11,7 +11,6 @@ @@ -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 @@ -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

8
README.md

@ -0,0 +1,8 @@ @@ -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.

14
README.txt

@ -1,14 +0,0 @@ @@ -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

5
bubulles.h

@ -4,7 +4,7 @@ @@ -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); @@ -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.

7
install.sh

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