forked from saltastro/timDIMM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.macos
42 lines (29 loc) · 1.43 KB
/
Makefile.macos
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Makefile for routines for ieee1394-based DIMM camera
CC = gcc
CFLAGS = -Wall -O4 -I/opt/local/include
LDFLAGS = -L/opt/local/lib -framework CoreFoundation -framework Carbon -lIOKit -lm -lcfitsio -lxpa -ldc1394
GLFLAGS = -L/opt/local/lib -framework CoreFoundation -framework Carbon -lIOKit -lm -ldc1394 -L/usr/X11/lib -lX11 -lGL -lGLU
EXECS = grab_cube grab_cube_16bpp_binned grab_cube_8bpp_binned measure_seeing ave_frames ave_frames_ff video_feed grab noise_test gl_feed
all: ${EXECS}
clean:
rm -f *.o; rm -f *~; rm -f ${EXECS}
grab_cube: grab_cube.c
${CC} ${CFLAGS} grab_cube.c ${LDFLAGS} -o grab_cube
grab_cube_16bpp_binned: grab_cube_16bpp_binned.c
${CC} ${CFLAGS} grab_cube_16bpp_binned.c ${LDFLAGS} -o grab_cube_16bpp_binned
grab_cube_8bpp_binned: grab_cube_8bpp_binned.c
${CC} ${CFLAGS} grab_cube_8bpp_binned.c ${LDFLAGS} -o grab_cube_8bpp_binned
measure_seeing: measure_seeing.c
${CC} ${CFLAGS} measure_seeing.c ${LDFLAGS} -lgsl -lgslcblas -o measure_seeing
noise_test: noise_test.c
${CC} ${CFLAGS} noise_test.c ${LDFLAGS} -lgsl -lgslcblas -o noise_test
video_feed: video_feed.c
${CC} ${CFLAGS} video_feed.c ${LDFLAGS} -o video_feed
gl_feed: gl_feed.c
${CC} ${CFLAGS} gl_feed.c ${GLFLAGS} -o gl_feed
grab: grab.c
${CC} ${CFLAGS} grab.c ${LDFLAGS} -o grab
ave_frames: ave_frames.c
${CC} ${CFLAGS} ave_frames.c ${LDFLAGS} -o ave_frames
ave_frames_ff: ave_frames_ff.c
${CC} ${CFLAGS} ave_frames_ff.c ${LDFLAGS} -o ave_frames_ff