Commit 472f7043 authored by Ewout Helmich's avatar Ewout Helmich
Browse files

Using Automake style files; the old makefiles are removed.

parent 4f46abc1
CC = gcc # the C compiler
COPT = -O3 -Wall # options for the C compiler
LIBS = -lm # libraries
OBJS = base_func.o clone_domains.o hedit.o init_difimages.o \
ludcmp.o lubksb.o make_domains.o make_vectors.o read_header.o \
get_params.o read_sector.o util.o write_sector.o xy_convolve.o \
mask_badpix.o clean_domains.o apply_norm.o expand_matrix.o \
spatial_convolve.o local_clip.o local_solution.o clip_domains.o \
quick_sort.o max.o get_domains.o write_kernel.o main.o
DEFS = clip_domains.o local_clip.o init_difimages.o make_domains.o \
make_vectors.o mask_badpix.o clean_domains.o clone_domains.o \
expand_matrix.o get_domains.o get_params.o local_solution.o \
spatial_convolve.o write_kernel.o main.o
FUNC = clip_domains.o get_domains.o init_difimages.o get_params.o \
local_clip.o make_vectors.o main.o
UTIL = write_sector.o read_sector.o init_difimages.o
.c.o :
${CC} ${COPT} -c $<
aga: ${OBJS}
${CC} ${OBJS} -o $@ ${LIBS} ${COPT}
${OBJS} : makefile
${DEFS} : defs.h
${FUNC} : funcs.h
${UTIL} : util.h
CC = gcc # the C compiler
COPT = -O3 -Wall # options for the C compiler
LIBS = -lm # libraries
OBJS = util.o main.o
UTIL = main.o
.c.o :
${CC} ${COPT} -c $<
float2ushort: ${OBJS}
${CC} ${OBJS} -o $@ ${LIBS} ${COPT}
${OBJS} : makefile
${UTIL} : util.h
ORIG = . # where the sources lie
DEST = .. # where to put the executable
CC = gcc # the C compiler
COPT = -O3 -Wall # options for the C compiler
LIBS = -lm # libraries
OBJS = rfits_f.o util.o main.o bkg.o is_peak.o local_max.o psf_stars.o \
silly_phot.o quick_sort.o get_params.o center.o is_isolated.o \
refine_max.o copy_obj.o psf_bitmaps.o fitpsf.o ludcmp.o lubksb.o \
get_gaussian.o init_psf.o psf_core.o local_fit.o clip_stars.o \
write_psf.o
DEFS = bkg.o center.o clip_stars.o copy_obj.o fitpsf.o get_gaussian.o \
get_params.o init_psf.o is_isolated.o is_peak.o local_fit.o main.o \
psf_bitmaps.o psf_core.o psf_stars.o refine_max.o silly_phot.o \
write_psf.o
FUNC = bkg.o clip_stars.o fitpsf.o get_gaussian.o local_fit.o local_max.o \
main.o psf_stars.o
UTIL = rfits_f.o
.c.o :
${CC} ${COPT} -c $<
getpsf: ${OBJS}
${CC} ${OBJS} -o $@ ${LIBS} ${COPT}
${OBJS} : makefile
${DEFS} : defs.h
${FUNC} : funcs.h
${UTIL} : util.h
CC = gcc # the C compiler
COPT = -O3 -Wall # options for the C compiler
LIBS = -lm -lcfitsio -lwcs # libraries
INCL = -I${PWD}/wcs -I${PWD}/cfitsio/include
LIBD = -L${PWD}/wcs -L${PWD}/cfitsio/lib
OBJS = rfits_f.o wfits_f.o im_convolve.o util.o main.o \
read_psf.o init_psf.o psf_core.o read_kernel.o spatial_coeffs.o \
make_vectors.o base_func.o make_kernel.o get_params.o make_psf.o \
get_fwhm.o covar_sig.o centroid.o aperphot.o bkg.o center_stars.o \
quick_sort.o get_repeaters.o find_stars.o cross_id.o get_phot.o \
neighbor.o indexx.o
DEFS = get_params.o bkg.o center_stars.o cross_id.o \
find_stars.o get_fwhm.o get_params.o get_phot.o get_repeaters.o \
init_psf.o main.o make_kernel.o make_psf.o make_vectors.o neighbor.o \
psf_core.o read_kernel.o read_psf.o spatial_coeffs.o
FUNC = bkg.o center_stars.o get_repeaters.o main.o make_psf.o make_vectors.o
UTIL = rfits_f.o wfits_f.o main.o
.c.o:
${CC} ${COPT} ${INCL} -c $<
getvar: ${OBJS} ${PWD}/cfitsio/lib/*.a ${PWD}/wcs/*.a
${CC} -o $@ ${OBJS} ${LIBS} ${LIBD} ${INCL} ${COPT}
${OBJS} : makefile
${DEFS} : defs.h
${FUNC} : funcs.h
${UTIL} : util.h
CC = gcc # the C compiler
COPT = -O3 -Wall # options for the C compiler
LIBS = -lm # libraries
OBJS = rfits_f.o wfits_f.o util.o main.o histogram.o bin.o get_peak.o \
median.o quick_sort.o get_params.o read_sector.o write_sector.o
FUNC = main.o
DEFS = get_params.o main.o
UTIL = rfits_f.o wfits_f.o
.c.o:
${CC} ${COPT} -c $<
mstack: ${OBJS}
${CC} -o $@ ${OBJS} ${LIBS} ${COPT}
${OBJS} : makefile
${FUNC} : funcs.h
${DEFS} : defs.h
${UTIL} : util.h
CC = gcc # the C compiler
COPT = -O3 -Wall # options for the C compiler
LIBS = -lm # libraries
OBJS = indexx.o bkg.o rfits_f.o im_convolve.o util.o main.o \
read_psf.o init_psf.o psf_core.o read_kernel.o spatial_coeffs.o \
make_vectors.o base_func.o make_kernel.o get_params.o make_psf.o \
get_phot.o get_fwhm.o wfits_f.o
DEFS = bkg.o get_params.o get_phot.o init_psf.o main.o make_kernel.o \
make_psf.o make_vectors.o psf_core.o read_kernel.o read_psf.o \
spatial_coeffs.o get_fwhm.o
FUNC = bkg.o main.o make_psf.o
UTIL = rfits_f.o main.o wfits_f.o
.c.o:
${CC} ${COPT} -c $<
phot: ${OBJS}
${CC} -o $@ ${OBJS} ${LIBS} ${COPT}
${OBJS}: makefile
${DEFS} : defs.h
${FUNC} : funcs.h
${UTIL} : util.h
CC = gcc # the C compiler
COPT = -O3 -Wall # options for the C compiler
LIBS = -lm -lcfitsio -lwcs # libraries
INCL = -I${PWD}/wcs -I${PWD}/cfitsio/include
LIBD = -L${PWD}/wcs -L${PWD}/cfitsio/lib
OBJS = wcs2pix.o \
.c.o:
${CC} ${COPT} -c ${INCL} $<
# ${CC} ${COPT} -c ${LIBS} ${LIBD} ${INCL} ${COPT} $<
wcs2pix:${OBJS}
${CC} -o $@ ${OBJS} ${LIBS} ${LIBD} ${INCL} ${COPT}
${OBJS} : makefile
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment