X-Git-Url: https://hackdaworld.org/gitweb/?p=sound-tools%2Fhdrec.git;a=blobdiff_plain;f=Makefile;h=353989a3c56005e3ddf3fe16d11d81a469d94d15;hp=6bd5fd0e38926aaed8fa0e37930f6954cd7aeef5;hb=HEAD;hpb=1c9ee7257e9ea793b679b34fa4b1d6426042e974 diff --git a/Makefile b/Makefile index 6bd5fd0..353989a 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,23 @@ # Makefile of hdrec -CFLAGS = -O3 -Wall +CFLAGS = -O3 -Wall -I/usr/include/directfb CC = gcc -TARGETS = hdrec +TARGETS = hdrec make_raw all: $(TARGETS) -hdrec: - $(CC) $(CFLAGS) -Wall oss_api.c hdrec.c -o hdrec +hdrec: links + $(CC) $(CFLAGS) -Wall fourier.c oss_api.c hdrec.c -o hdrec -lm -ldirectfb + +make_raw: + $(CC) -O3 -Wall make_raw.c -o make_raw -lm + +links: + ln -sf ../../api/fourier/fourier.c . + ln -sf ../../api/fourier/fourier.h . clean: - rm $(OBJS) hdrec + rm -f $(TARGETS) remake: clean all