fixed nlsop for packaging ..
[physik/nlsop.git] / makefile
index 3f5b43d..d8053b4 100644 (file)
--- a/makefile
+++ b/makefile
@@ -3,9 +3,9 @@
 INCLUDEDIR = /usr/include
 
 CFLAGS = -O3 -Wall
-LIBS = -lncurses -lm
+LIBS = -lncurses -lm -lfftw3
 
-OBJS = network.o event.o input.o display.o audio.o fourier.o bmp.o
+OBJS = network.o event.o input.o display.o fourier.o bmp.o
 
 dft: links $(OBJS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) dft.c $(LIBS)
@@ -13,6 +13,12 @@ dft: links $(OBJS)
 linescan: links $(OBJS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) linescan.c $(LIBS)
 
+nlsop_make_cryst: links $(OBJS)
+       $(CC) $(CFLAGS) -o $@ $(OBJS) nlsop_make_cryst.c $(LIBS)
+
+nlsop_create_cbox: links $(OBJS)
+       $(CC) $(CFLAGS) -o $@ $(OBJS) nlsop_create_cbox.c $(LIBS)
+
 3dplot: links $(OBJS)
        $(CC) $(CFLAGS) -o $@ $(OBJS) 3dplot.c $(LIBS)
 
@@ -25,7 +31,6 @@ links:
        ln -sf ../api/event/event.{c,h} .
        ln -sf ../api/input/input.{c,h} .
        ln -sf ../api/display/display.{c,h} .
-       ln -sf ../api/audio/audio.{c,h} .
        ln -sf ../api/network/network.{c,h} .
        ln -sf ../api/list/list.{c,h} .
        ln -sf ../api/fourier/fourier.{c,h} .