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/str/Makefile | |
download | oss4-upstream.tar.gz |
Imported Upstream version 4.2-build2006upstream/4.2-build2006upstream
Diffstat (limited to 'tutorials/sndkit/dsp/str/Makefile')
-rw-r--r-- | tutorials/sndkit/dsp/str/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tutorials/sndkit/dsp/str/Makefile b/tutorials/sndkit/dsp/str/Makefile new file mode 100644 index 0000000..d0fb544 --- /dev/null +++ b/tutorials/sndkit/dsp/str/Makefile @@ -0,0 +1,34 @@ +#CC = gcc +#CFLAGS = -O6 -m486 -funroll-loops -Wall +#LD = gcc +#LDFLAGS = -s -N +CC = cc +CFLAGS = -O +LD = cc +LDFLAGS = -s + +INSTALLDIR = /usr/local/bin + +OBJS = str.o strplay.o ../help.o + +.c.o: +# $(CC) -c $(CFLAGS) -o $*.o $< + $(CC) -c $(CFLAGS) $< + +all: str + +install: all + cp str $(INSTALLDIR) + chown root $(INSTALLDIR)/str + chmod 755 $(INSTALLDIR)/str + ln -f $(INSTALLDIR)/str $(INSTALLDIR)/str15 + ln -f $(INSTALLDIR)/str $(INSTALLDIR)/str32 + +str: $(OBJS) + $(LD) $(LDFLAGS) $(OBJS) -o str + +clean: + rm -f $(OBJS) str a.out core + +str.o: str.c str.h +strplay.o: strplay.c str.h |