forked from tTh/FloatImg
38 lines
920 B
Makefile
38 lines
920 B
Makefile
|
||
#
|
||
# some ugly experiments, do not use in production
|
||
#
|
||
|
||
COPT = -Wall -Wextra -fpic -g -DDEBUG_LEVEL=1 -lm
|
||
DEPS = ../floatimg.h ../libfloatimg.a Makefile
|
||
LIBS = ../libfloatimg.a -ltiff -lpnglite -lcfitsio -lm
|
||
|
||
all: assemblage extracteur muxplanes movepixels
|
||
|
||
# ---------------------------------------------------------
|
||
|
||
assemblage: assemblage.c ${DEPS}
|
||
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
|
||
|
||
extracteur: extracteur.c ${DEPS}
|
||
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
|
||
|
||
muxplanes: muxplanes.c ${DEPS}
|
||
gcc $(COPT) $< ${LIBS} -o $@
|
||
|
||
movepixels: movepixels.c ${DEPS}
|
||
gcc $(COPT) $< ../libfloatimg.a ${LIBS} -o $@
|
||
|
||
# ---------------------------------------------------------
|
||
# 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 $@
|
||
|