X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=makefile;h=d8053b4ce55c0d5b2a5021cdfe48d0dc8401b39f;hp=9a9f76e29bc246fead242208a07aef7e0f55ec73;hb=HEAD;hpb=ba07742cd1c1cf50e5467462311425cfdf245402 diff --git a/makefile b/makefile index 9a9f76e..d8053b4 100644 --- a/makefile +++ b/makefile @@ -3,25 +3,37 @@ 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) -all: links dft + +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) + +all: links dft linescan 3dplot clean: rm -f $(OBJS) ivac 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} . - ln -sf ../../api/bmp/bmp.{c,h} . + ln -sf ../api/event/event.{c,h} . + ln -sf ../api/input/input.{c,h} . + ln -sf ../api/display/display.{c,h} . + ln -sf ../api/network/network.{c,h} . + ln -sf ../api/list/list.{c,h} . + ln -sf ../api/fourier/fourier.{c,h} . + ln -sf ../api/bmp/bmp.{c,h} . remake: clean all