FloatImg4PythonBinding/funcs/Makefile

47 lines
1.0 KiB
Makefile
Raw Normal View History

2019-03-04 02:22:55 +11:00
#---------------------------------------------------------------
2020-03-01 07:59:12 +11:00
COPT = -Wall -fpic -g -pg -no-pie -DDEBUG_LEVEL=0
2019-03-04 02:22:55 +11:00
DEPS = ../floatimg.h Makefile
2019-09-13 04:48:12 +11:00
OBJS = fimg-png.o fimg-tiff.o misc-plots.o filtrage.o utils.o \
fimg-libpnm.o rampes.o sfx0.o geometry.o rotate.o
2019-09-13 04:48:12 +11:00
#---------------------------------------------------------------
t: t.c $(DEPS) ../libfloatimg.a
2020-01-23 22:38:19 +11:00
gcc $(COPT) $< ../libfloatimg.a -lnetpbm -lpnglite -lz -lm -o $@
2019-03-04 02:22:55 +11:00
#---------------------------------------------------------------
../libfloatimg.a: $(OBJS)
$(AR) r $@ $?
fimg-png.o: fimg-png.c $(DEPS)
gcc $(COPT) -c $<
fimg-tiff.o: fimg-tiff.c $(DEPS)
gcc $(COPT) -c $<
2019-09-13 04:48:12 +11:00
fimg-libpnm.o: fimg-libpnm.c $(DEPS)
gcc $(COPT) -c $<
2019-03-04 02:22:55 +11:00
misc-plots.o: misc-plots.c $(DEPS)
gcc $(COPT) -c $<
filtrage.o: filtrage.c $(DEPS)
gcc $(COPT) -c $<
2019-08-29 06:08:59 +11:00
2020-02-14 06:44:22 +11:00
geometry.o: geometry.c $(DEPS)
gcc $(COPT) -c $<
rotate.o: rotate.c $(DEPS)
gcc $(COPT) -DDEBUG_LEVEL=1 -c $<
2020-02-08 04:01:28 +11:00
sfx0.o: sfx0.c $(DEPS)
gcc $(COPT) -c $<
2020-01-04 01:39:11 +11:00
rampes.o: rampes.c $(DEPS)
gcc $(COPT) -c $<
2019-08-29 06:08:59 +11:00
utils.o: utils.c $(DEPS)
gcc $(COPT) -c $<