3 INCLUDEDIR = /usr/include
6 LIBS = -lncurses -lm -lfftw3
8 OBJS = network.o event.o input.o display.o fourier.o bmp.o
11 $(CC) $(CFLAGS) -o $@ $(OBJS) dft.c $(LIBS)
13 linescan: links $(OBJS)
14 $(CC) $(CFLAGS) -o $@ $(OBJS) linescan.c $(LIBS)
16 nlsop_make_cryst: links $(OBJS)
17 $(CC) $(CFLAGS) -o $@ $(OBJS) nlsop_make_cryst.c $(LIBS)
19 nlsop_create_cbox: links $(OBJS)
20 $(CC) $(CFLAGS) -o $@ $(OBJS) nlsop_create_cbox.c $(LIBS)
23 $(CC) $(CFLAGS) -o $@ $(OBJS) 3dplot.c $(LIBS)
25 all: links dft linescan 3dplot
31 ln -sf ../api/event/event.{c,h} .
32 ln -sf ../api/input/input.{c,h} .
33 ln -sf ../api/display/display.{c,h} .
34 ln -sf ../api/network/network.{c,h} .
35 ln -sf ../api/list/list.{c,h} .
36 ln -sf ../api/fourier/fourier.{c,h} .
37 ln -sf ../api/bmp/bmp.{c,h} .