read .OBJ file, first try

This commit is contained in:
2020-06-05 00:17:17 +02:00
parent ee00eec000
commit 5a6e98d034
7 changed files with 65 additions and 2 deletions

View File

@@ -12,12 +12,15 @@ CC = gcc
OPT = -Wall -g -DDEBUG_LEVEL=0 -DMUST_ABORT
libbubulles.a: bubulles.o
libbubulles.a: bubulles.o importobj.o
ar r $@ $?
bubulles.o: bubulles.c bubulles.h Makefile
$(CC) $(OPT) -c $<
importobj.o: importobj.c bubulles.h Makefile
$(CC) $(OPT) -c $<
# ------------------------------------------------
# --- build some tests and tools