X-Git-Url: https://hackdaworld.org/gitweb/?p=sound-tools%2Fhdrec.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=2729ee7e2a9bc973e3ae495210ac1529fb79d6ad;hp=1d9af21c0b096fb5db026691fa5f6512d6e780f4;hb=ed5480feb00b541aecdbc344c27a3d923cc3b1ab;hpb=ccff379135e4edb378365575a91c2524b05b0144 diff --git a/Makefile b/Makefile index 1d9af21..2729ee7 100644 --- a/Makefile +++ b/Makefile @@ -7,12 +7,16 @@ TARGETS = hdrec all: $(TARGETS) -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