From 1058def8e7827e56ce4a70afb4aeacb5dc44148f Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Fri, 3 May 2013 21:08:42 +0400 Subject: Imported Upstream version 4.2-build2006 --- tutorials/sndkit/dsp/Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tutorials/sndkit/dsp/Makefile (limited to 'tutorials/sndkit/dsp/Makefile') diff --git a/tutorials/sndkit/dsp/Makefile b/tutorials/sndkit/dsp/Makefile new file mode 100644 index 0000000..1cfa1ec --- /dev/null +++ b/tutorials/sndkit/dsp/Makefile @@ -0,0 +1,31 @@ +#CC = gcc +#CFLAGS = -O6 -m486 -funroll-loops -Wall +CFLAGS = -O -I../../../include +#LD = gcc +LD = cc +#LDFLAGS = -s -N +LDFLAGS = -s + +INSTALLDIR = /usr/local/bin + +.c.o: +# $(CC) -c $(CFLAGS) -o $*.o $< + $(CC) -c $(CFLAGS) $< + +all: srec + +install: all + cp srec $(INSTALLDIR) + ln -sf $(INSTALLDIR)/srec $(INSTALLDIR)/splay + chown root $(INSTALLDIR)/splay $(INSTALLDIR)/srec + chmod 755 $(INSTALLDIR)/splay $(INSTALLDIR)/srec + cd str;make install + +srec: recplay.o help.o + $(LD) $(LDFLAGS) recplay.o help.o -o srec + +clean: + rm -f $(OBJS) *.o srec a.out core + cd str;make clean + +recplay.o: recplay.c -- cgit v1.2.3