2021-03-29 03:52:03 +11:00
|
|
|
|
|
2021-06-11 15:55:40 +11:00
|
|
|
|
#
|
|
|
|
|
# some ugly experiments, do not use in production
|
|
|
|
|
#
|
2021-03-29 03:52:03 +11:00
|
|
|
|
|
2021-03-31 06:22:04 +11:00
|
|
|
|
COPT = -Wall -fpic -g -DDEBUG_LEVEL=1 -lm
|
2021-03-29 03:52:03 +11:00
|
|
|
|
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
2021-10-18 05:23:35 +11:00
|
|
|
|
LIBS = ../libfloatimg.a -ltiff -lpnglite -lcfitsio
|
2021-03-29 03:52:03 +11:00
|
|
|
|
|
2021-06-11 15:55:40 +11:00
|
|
|
|
all: assemblage extracteur muxplanes movepixels
|
2021-03-29 03:52:03 +11:00
|
|
|
|
|
2021-10-18 05:23:35 +11:00
|
|
|
|
# ---------------------------------------------------------
|
|
|
|
|
|
2021-05-10 09:49:46 +11:00
|
|
|
|
assemblage: assemblage.c ${DEPS}
|
2021-05-26 20:31:52 +11:00
|
|
|
|
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
|
2021-03-29 03:52:03 +11:00
|
|
|
|
|
2021-05-10 09:49:46 +11:00
|
|
|
|
extracteur: extracteur.c ${DEPS}
|
2021-05-26 20:31:52 +11:00
|
|
|
|
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
|
|
|
|
|
|
|
|
|
|
muxplanes: muxplanes.c ${DEPS}
|
2021-10-18 05:23:35 +11:00
|
|
|
|
gcc $(COPT) $< ${LIBS} -o $@
|
2021-06-11 15:55:40 +11:00
|
|
|
|
|
|
|
|
|
movepixels: movepixels.c ${DEPS}
|
|
|
|
|
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
|
2021-10-18 05:23:35 +11: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 $@
|
|
|
|
|
|