FloatImg4PythonBinding/experiment/Makefile

41 lines
984 B
Makefile
Raw Normal View History

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
2023-06-30 00:40:59 +11:00
COPT = -Wall -Wextra -fpic -g -DDEBUG_LEVEL=0 -lm
2021-03-29 03:52:03 +11:00
DEPS = ../floatimg.h ../libfloatimg.a Makefile
2022-01-22 00:43:52 +11:00
LIBS = ../libfloatimg.a -ltiff -lpnglite -lcfitsio -lm
2021-03-29 03:52:03 +11:00
2023-07-07 21:36:29 +11:00
all: assemblage muxplanes movepixels mnt
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-26 20:31:52 +11:00
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
2023-04-30 04:29:45 +11:00
mnt: mnt.c ${DEPS}
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
fimg2obj: fimg2obj.c $(DEPS)
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
2021-10-18 05:23:35 +11:00
# ---------------------------------------------------------
2024-04-01 09:07:34 +11:00
# CACHE ENGINE (wip)
2021-10-18 05:23:35 +11: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 $@