2019-03-03 16:22:55 +01:00
|
|
|
#---------------------------------------------------------------
|
|
|
|
|
2020-04-11 23:18:33 +02:00
|
|
|
COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0
|
2019-03-03 16:22:55 +01:00
|
|
|
DEPS = ../floatimg.h Makefile
|
2019-09-12 19:48:12 +02:00
|
|
|
OBJS = fimg-png.o fimg-tiff.o misc-plots.o filtrage.o utils.o \
|
2020-04-11 23:18:33 +02:00
|
|
|
fimg-libpnm.o rampes.o sfx0.o geometry.o rotate.o \
|
2020-09-08 22:55:17 +02:00
|
|
|
equalize.o fimg-fits.o saturation.o histogram.o \
|
|
|
|
hsv.o
|
2019-09-12 19:48:12 +02:00
|
|
|
|
|
|
|
#---------------------------------------------------------------
|
|
|
|
|
|
|
|
t: t.c $(DEPS) ../libfloatimg.a
|
2020-08-22 02:16:13 +02:00
|
|
|
gcc $(COPT) $< ../libfloatimg.a -lnetpbm -lpnglite -lcfitsio \
|
|
|
|
-ltiff \
|
2020-07-24 10:38:13 +02:00
|
|
|
-lz -lm -o $@
|
2019-03-03 16:22:55 +01: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 $<
|
|
|
|
|
2020-07-24 10:38:13 +02:00
|
|
|
fimg-fits.o: fimg-fits.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
2019-09-12 19:48:12 +02:00
|
|
|
fimg-libpnm.o: fimg-libpnm.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
2019-03-03 16:22:55 +01:00
|
|
|
misc-plots.o: misc-plots.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
|
|
|
filtrage.o: filtrage.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
2019-08-28 21:08:59 +02:00
|
|
|
|
2020-02-13 20:44:22 +01:00
|
|
|
geometry.o: geometry.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
2020-03-24 09:31:52 +01:00
|
|
|
rotate.o: rotate.c $(DEPS)
|
2020-03-26 09:12:25 +01:00
|
|
|
gcc $(COPT) -c $<
|
2020-03-24 09:31:52 +01:00
|
|
|
|
2020-07-28 08:19:38 +02:00
|
|
|
saturation.o: saturation.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
2020-09-03 01:37:53 +02:00
|
|
|
histogram.o: histogram.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
2020-04-11 23:18:33 +02:00
|
|
|
equalize.o: equalize.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
2020-02-07 18:01:28 +01:00
|
|
|
sfx0.o: sfx0.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
2020-01-03 15:39:11 +01:00
|
|
|
rampes.o: rampes.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
2020-09-08 22:55:17 +02:00
|
|
|
hsv.o: hsv.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
2019-08-28 21:08:59 +02:00
|
|
|
utils.o: utils.c $(DEPS)
|
|
|
|
gcc $(COPT) -c $<
|