forked from tTh/FloatImg
76 lines
1.6 KiB
Makefile
76 lines
1.6 KiB
Makefile
#---------------------------------------------------------------
|
|
|
|
COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0
|
|
DEPS = ../floatimg.h Makefile
|
|
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 \
|
|
equalize.o fimg-fits.o saturation.o histogram.o \
|
|
hsv.o classif.o contour2x2.o qsortrgb.o
|
|
|
|
#---------------------------------------------------------------
|
|
|
|
t: t.c $(DEPS) ../libfloatimg.a
|
|
gcc $(COPT) $< ../libfloatimg.a -lnetpbm -lpnglite -lcfitsio \
|
|
-ltiff \
|
|
-lz -lm -o $@
|
|
|
|
#---------------------------------------------------------------
|
|
|
|
../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 $<
|
|
|
|
fimg-fits.o: fimg-fits.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
fimg-libpnm.o: fimg-libpnm.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
misc-plots.o: misc-plots.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
filtrage.o: filtrage.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
geometry.o: geometry.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
rotate.o: rotate.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
saturation.o: saturation.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
histogram.o: histogram.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
equalize.o: equalize.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
sfx0.o: sfx0.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
contour2x2.o: contour2x2.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
rampes.o: rampes.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
classif.o: classif.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
qsortrgb.o: qsortrgb.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
|
|
hsv.o: hsv.c $(DEPS)
|
|
gcc $(COPT) -c $<
|
|
|
|
utils.o: utils.c $(DEPS)
|
|
gcc $(COPT) -c $<
|