2020-06-05 09:17:17 +11:00
|
|
|
|
|
|
|
BBFUNCS = ../libbubulles.a
|
|
|
|
|
2023-04-09 20:13:56 +11:00
|
|
|
OPT = -Wall -Wextra -g -DDEBUG_LEVEL=0 -DMUST_ABORT=0
|
2020-06-05 19:50:33 +11:00
|
|
|
|
2023-04-19 19:41:50 +11:00
|
|
|
all: read_obj export_evblob essai_faces
|
|
|
|
|
2023-04-15 09:56:48 +11:00
|
|
|
# ---------
|
|
|
|
|
|
|
|
read_obj: read_obj.c Makefile importobj.o rdwredges.o \
|
2023-04-09 20:13:56 +11:00
|
|
|
$(BBFUNCS)
|
|
|
|
gcc $(OPT) $< importobj.o rdwredges.o $(BBFUNCS) -o $@
|
2023-03-22 06:31:50 +11:00
|
|
|
|
2023-04-15 09:56:48 +11:00
|
|
|
export_evblob: export_evblob.c Makefile importobj.o rdwredges.o \
|
|
|
|
$(BBFUNCS)
|
|
|
|
gcc $(OPT) $< importobj.o rdwredges.o $(BBFUNCS) -o $@
|
|
|
|
|
|
|
|
# ---------
|
|
|
|
|
2023-04-09 20:13:56 +11:00
|
|
|
importobj.o: importobj.c ../bubulles.h ../edges.h Makefile
|
2023-03-22 06:31:50 +11:00
|
|
|
$(CC) $(OPT) -c $<
|
2023-04-03 09:52:09 +11:00
|
|
|
|
2023-04-09 20:13:56 +11:00
|
|
|
rdwredges.o: rdwredges.c objtrucs.h \
|
|
|
|
../bubulles.h ../edges.h Makefile
|
|
|
|
$(CC) $(OPT) -c $<
|
|
|
|
|
|
|
|
# ---------
|
|
|
|
|
2023-04-03 09:52:09 +11:00
|
|
|
essai_faces: essai_faces.c Makefile
|
|
|
|
$(CC) $(OPT) $< -o $@
|
2023-04-19 19:41:50 +11:00
|
|
|
|
|
|
|
# have a nice day !
|