X-Git-Url: https://www.hackdaworld.org/gitweb/?a=blobdiff_plain;f=makefile;fp=makefile;h=9a9f76e29bc246fead242208a07aef7e0f55ec73;hb=ba07742cd1c1cf50e5467462311425cfdf245402;hp=0000000000000000000000000000000000000000;hpb=a2fdfeb8e41efb35aa935fb50512e969acd2d75d;p=physik%2Fnlsop.git diff --git a/makefile b/makefile new file mode 100644 index 0000000..9a9f76e --- /dev/null +++ b/makefile @@ -0,0 +1,27 @@ +# Makefile of dft + +INCLUDEDIR = /usr/include + +CFLAGS = -O3 -Wall +LIBS = -lncurses -lm + +OBJS = network.o event.o input.o display.o audio.o fourier.o bmp.o + +dft: links $(OBJS) + $(CC) $(CFLAGS) -o $@ $(OBJS) dft.c $(LIBS) +all: links dft + +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} . + +remake: clean all