]> git.alsa-project.org Git - alsa-tools.git/commitdiff
Fix build
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Mar 2005 16:43:29 +0000 (16:43 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 17 Mar 2005 16:43:29 +0000 (16:43 +0000)
Fix build and clean of as10k1 to work properly with the recent
auto-tools.

as10k1/Makefile.am
as10k1/examples/Makefile

index 9e627e441e37f3ee522a3293b410750a88ec90fd..501c2b8777b46978adf2922cf80cfe5e9a0430c1 100644 (file)
@@ -1,15 +1,14 @@
+SUBDIRS = examples
+
 bin_PROGRAMS = as10k1
 as10k1_SOURCES = as10k1.c parse.c assemble.c macro.c
 noinst_HEADERS = as10k1.h list.h parse.h proto.h types.h
 EXTRA_DIST = cvscompile output.doc examples/Makefile examples/*.asm depcomp
+AM_CFLAGS = -fno-strict-aliasing
 AUTOMAKE_OPTIONS = foreign
 
 dsp:
-       $(MAKE) -C examples
-
-clean:
-       rm -rf .deps *~
-       $(MAKE) -C examples clean
+       $(MAKE) -C examples dsp
 
 alsa-dist: distdir
        @rm -rf ../distdir/as10k1
index 5d6f391dcef903e63e536161958407992302383e..c48c29bd3fa498384d251a900117d402a287a324 100644 (file)
@@ -5,7 +5,9 @@ TARGETS = blank.emu10k1 chorus.emu10k1 delay.emu10k1 eq2.emu10k1 eq5.emu10k1 \
 %.emu10k1: %.asm
        ../as10k1 $<
 
-all: $(TARGETS)
+all:
+
+dsp: $(TARGETS)
 
 clean:
-       rm -f *~ *.emu10k1
\ No newline at end of file
+       rm -f *~ *.emu10k1