libbubulle/tools/Makefile

33 lines
700 B
Makefile
Raw Permalink Normal View History

2020-06-05 00:17:17 +02:00
BBFUNCS = ../libbubulles.a
2023-05-02 10:06:24 +02:00
OPT = -Wall -Wextra -O1 -g -DDEBUG_LEVEL=0 -DMUST_ABORT=0
2020-06-05 10:50:33 +02:00
2023-04-27 19:34:58 +02:00
all: read_obj export_evblob # essai_faces
2023-04-19 10:41:50 +02:00
2023-04-15 00:56:48 +02:00
# ---------
read_obj: read_obj.c Makefile importobj.o rdwredges.o \
2023-04-09 11:13:56 +02:00
$(BBFUNCS)
gcc $(OPT) $< importobj.o rdwredges.o $(BBFUNCS) -o $@
2023-03-21 20:31:50 +01:00
2023-04-15 00:56:48 +02:00
export_evblob: export_evblob.c Makefile importobj.o rdwredges.o \
$(BBFUNCS)
gcc $(OPT) $< importobj.o rdwredges.o $(BBFUNCS) -o $@
# ---------
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 $@
2023-04-19 10:41:50 +02:00
# have a nice day !