view Makefile @ 9:8726585681f6

backup
author Peter Meerwald <p.meerwald@bct-electronic.com>
date Wed, 21 Sep 2011 12:18:40 +0200
parents f2d3b39267ee
children
line wrap: on
line source

CFLAGS += -I.

OBJS = peck_fft.o peck_fftr.o

all: libpeck_fft.a

libpeck_fft.a: $(OBJS)
	$(AR) ruv $@ $(OBJS)

clean:
	rm -f *.o *.a peck_test

peck_test: peck_test.o libpeck_fft.a
	$(CC) $(LDFLAGS) -o $@ peck_test.o -L. -lpeck_fft -lm

test: peck_test
	./peck_test

install: libpeck_fft.a
	mkdir -p $(DESTDIR)/usr/lib
	mkdir -p $(DESTDIR)/usr/include
	cp libpeck_fft.a $(DESTDIR)/usr/lib
	cp peck_fft.h peck_fftr.h _peck_fft_guts.h $(DESTDIR)/usr/include

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.