Apply debian's 10_makefile.patch from 0.31e-3.
diff --git a/src/Makefile b/src/Makefile
index 69f1cf4..3a65e42 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -5,7 +5,9 @@
 
 MAKE = make
 
-amideco:
+all: amideco
+
+amideco: amifunc kernel
 	gcc amideco.c amifunc.o kernel.o -s -fpack-struct -o amideco
 
 amifunc: