blob: 3a65e421c720b07485a63f80936ca13ed5efb2e2 [file] [log] [blame]
Luc Verhaegen6f3fe852009-01-07 15:34:58 +01001#
2# Main Makefile
3# (c) 2002
4#
5
6MAKE = make
7
Luc Verhaegen01e13002009-01-07 15:36:37 +01008all: amideco
9
10amideco: amifunc kernel
Luc Verhaegen6f3fe852009-01-07 15:34:58 +010011 gcc amideco.c amifunc.o kernel.o -s -fpack-struct -o amideco
12
13amifunc:
14 gcc amifunc.c -c -o amifunc.o -fpack-struct
15
16kernel:
17 gcc kernel.c -c -o kernel.o -fpack-struct
18
19clean:
20 rm -f *.o
21 rm -f amideco
22
23rebuild:
24 make clean
25 make amifunc
26 make kernel
27 make amideco