2020-06-05 00:17:17 +02:00
|
|
|
|
|
|
|
BBFUNCS = ../libbubulles.a
|
|
|
|
|
2023-04-09 11:13:56 +02:00
|
|
|
OPT = -Wall -Wextra -g -DDEBUG_LEVEL=0 -DMUST_ABORT=0
|
2020-06-05 10:50:33 +02:00
|
|
|
|
2023-04-09 11:13:56 +02:00
|
|
|
read_obj: read_obj.c Makefile importobj.o rdwredges.o \
|
|
|
|
$(BBFUNCS)
|
|
|
|
gcc $(OPT) $< importobj.o rdwredges.o $(BBFUNCS) -o $@
|
2023-03-21 20:31:50 +01:00
|
|
|
|
2023-04-09 11:13:56 +02:00
|
|
|
importobj.o: importobj.c ../bubulles.h ../edges.h Makefile
|
2023-03-21 20:31:50 +01:00
|
|
|
$(CC) $(OPT) -c $<
|
2023-04-03 00:52:09 +02:00
|
|
|
|
2023-04-09 11:13:56 +02:00
|
|
|
rdwredges.o: rdwredges.c objtrucs.h \
|
|
|
|
../bubulles.h ../edges.h Makefile
|
|
|
|
$(CC) $(OPT) -c $<
|
|
|
|
|
|
|
|
# ---------
|
|
|
|
|
2023-04-03 00:52:09 +02:00
|
|
|
essai_faces: essai_faces.c Makefile
|
|
|
|
$(CC) $(OPT) $< -o $@
|