FloatImg/experiment/Makefile

41 lines
984 B
Makefile
Raw Normal View History

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
2023-06-29 15:40:59 +02:00
COPT = -Wall -Wextra -fpic -g -DDEBUG_LEVEL=0 -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
2023-07-07 12:36:29 +02:00
all: assemblage muxplanes movepixels mnt
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-26 11:31:52 +02:00
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
2023-04-29 19:29:45 +02:00
mnt: mnt.c ${DEPS}
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
fimg2obj: fimg2obj.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
2021-10-17 20:23:35 +02:00
# ---------------------------------------------------------
2024-04-01 00:07:34 +02:00
# CACHE ENGINE (wip)
2021-10-17 20:23:35 +02:00
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 $@