libbubulle/tools/Makefile
2023-05-02 10:06:24 +02:00

33 lines
700 B
Makefile

BBFUNCS = ../libbubulles.a
OPT = -Wall -Wextra -O1 -g -DDEBUG_LEVEL=0 -DMUST_ABORT=0
all: read_obj export_evblob # essai_faces
# ---------
read_obj: read_obj.c Makefile importobj.o rdwredges.o \
$(BBFUNCS)
gcc $(OPT) $< importobj.o rdwredges.o $(BBFUNCS) -o $@
export_evblob: export_evblob.c Makefile importobj.o rdwredges.o \
$(BBFUNCS)
gcc $(OPT) $< importobj.o rdwredges.o $(BBFUNCS) -o $@
# ---------
importobj.o: importobj.c ../bubulles.h ../edges.h Makefile
$(CC) $(OPT) -c $<
rdwredges.o: rdwredges.c objtrucs.h \
../bubulles.h ../edges.h Makefile
$(CC) $(OPT) -c $<
# ---------
essai_faces: essai_faces.c Makefile
$(CC) $(OPT) $< -o $@
# have a nice day !