Voxifera/Makefile

20 lines
464 B
Makefile
Raw Normal View History

2009-05-26 18:23:35 +02:00
CC = gcc
SRCDIR = src/
INCDIR = include/
CFLAGS = -I$(INCDIR) -O3 -funroll-loops -w -ffast-math -fno-stack-protector -ffunction-sections -funsafe-math-optimizations -fno-trapping-math
LFLAGS = -lm
2009-05-24 15:22:59 +02:00
all:
2009-05-26 18:23:35 +02:00
$(CC) -c $(CFLAGS) $(SRCDIR)utils.c
$(CC) -c $(CFLAGS) $(SRCDIR)dsp.c
$(CC) -c $(CFLAGS) $(SRCDIR)fdct.c
$(CC) $(CFLAGS) $(LFLAGS) $(SRCDIR)main.c *.o -o voxifera
2009-05-24 15:22:59 +02:00
clean:
2009-05-26 18:23:35 +02:00
rm -f voxifera *.o
2009-05-24 15:22:59 +02:00
install:
mkdir -p /usr/local/bin
2009-05-26 18:23:35 +02:00
cp voxifera /usr/local/bin