# Makefile of hdrec CFLAGS = -O3 -Wall -I/usr/include/directfb CC = gcc TARGETS = hdrec make_raw all: $(TARGETS) 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 -f $(TARGETS) remake: clean all