refactoring

This commit is contained in:
tTh
2023-03-21 20:31:50 +01:00
parent 9cbbb35cde
commit f4d5557b4f
8 changed files with 61 additions and 22 deletions

View File

@@ -3,5 +3,8 @@ BBFUNCS = ../libbubulles.a
OPT = -Wall -g -DDEBUG_LEVEL=1 -DMUST_ABORT
read_obj: read_obj.c Makefile $(BBFUNCS)
gcc $(OPT) $< $(BBFUNCS) -o $@
read_obj: read_obj.c Makefile importobj.o $(BBFUNCS)
gcc $(OPT) $< importobj.o $(BBFUNCS) -o $@
importobj.o: importobj.c ../bubulles.h Makefile
$(CC) $(OPT) -c $<