2021-03-28 18:52:03 +02:00
|
|
|
|
|
2021-06-11 06:55:40 +02:00
|
|
|
|
#
|
|
|
|
|
# some ugly experiments, do not use in production
|
|
|
|
|
#
|
2021-03-28 18:52:03 +02:00
|
|
|
|
|
2021-03-30 21:22:04 +02:00
|
|
|
|
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1 -lm
|
2021-03-28 18:52:03 +02:00
|
|
|
|
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
2022-01-21 14:43:52 +01:00
|
|
|
|
LIBS = ../libfloatimg.a -ltiff -lpnglite -lcfitsio -lm
|
2021-03-28 18:52:03 +02:00
|
|
|
|
|
2021-06-11 06:55:40 +02:00
|
|
|
|
all: assemblage extracteur muxplanes movepixels
|
2021-03-28 18:52:03 +02:00
|
|
|
|
|
2021-10-17 20:23:35 +02:00
|
|
|
|
# ---------------------------------------------------------
|
|
|
|
|
|
2021-05-10 00:49:46 +02:00
|
|
|
|
assemblage: assemblage.c ${DEPS}
|
2021-05-26 11:31:52 +02:00
|
|
|
|
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
|
2021-03-28 18:52:03 +02:00
|
|
|
|
|
2021-05-10 00:49:46 +02:00
|
|
|
|
extracteur: extracteur.c ${DEPS}
|
2021-05-26 11:31:52 +02:00
|
|
|
|
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
|
|
|
|
|
|
|
|
|
|
muxplanes: muxplanes.c ${DEPS}
|
2021-10-17 20:23:35 +02:00
|
|
|
|
gcc $(COPT) $< ${LIBS} -o $@
|
2021-06-11 06:55:40 +02:00
|
|
|
|
|
|
|
|
|
movepixels: movepixels.c ${DEPS}
|
|
|
|
|
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
|
2021-10-17 20:23:35 +02:00
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------
|
|
|
|
|
# CACHE ENGINE
|
|
|
|
|
|
|
|
|
|
cachengn.o: cachengn.c cachengn.h Makefile
|
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
|
|
|
|
|
tcache.o: tcache.c cachengn.h Makefile
|
|
|
|
|
gcc $(COPT) -c $<
|
|
|
|
|
|
|
|
|
|
tcache: tcache.o cachengn.o Makefile
|
|
|
|
|
gcc $(COPT) tcache.o cachengn.o $(LIBS) -o $@
|
|
|
|
|
|