diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-05-03 21:08:42 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-05-03 21:08:42 +0400 |
commit | 1058def8e7827e56ce4a70afb4aeacb5dc44148f (patch) | |
tree | 4495d23e7b54ab5700e3839081e797c1eafe0db9 /tutorials/sndkit/dsp/Makefile | |
download | oss4-upstream/4.2-build2006.tar.gz |
Imported Upstream version 4.2-build2006upstream/4.2-build2006upstream
Diffstat (limited to 'tutorials/sndkit/dsp/Makefile')
-rw-r--r-- | tutorials/sndkit/dsp/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
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 |