blob: de5dead43bd7a01c9cbf84803c9465b1336d2700 [file] [log] [blame]
Luc Verhaegen6f3fe852009-01-07 15:34:58 +01001MAKE = make
Luc Verhaegendf9c14e2009-01-07 18:23:15 +01002CFLAGS = -g -fpack-struct -Wall
Luc Verhaegen53cd0342009-01-07 17:23:32 +01003CC = gcc
Luc Verhaegen6f3fe852009-01-07 15:34:58 +01004
Luc Verhaegen1646a412009-06-16 08:22:14 +02005all: amideco lh5_test
Luc Verhaegen01e13002009-01-07 15:36:37 +01006
Luc Verhaegen2ef83952009-01-12 16:59:07 +01007amideco: amideco.c
Luc Verhaegen5d403742009-01-12 16:29:34 +01008 $(CC) $(CFLAGS) amideco.c -o amideco
Luc Verhaegen6f3fe852009-01-07 15:34:58 +01009
Luc Verhaegen1646a412009-06-16 08:22:14 +020010lh5_extract.o: lh5_extract.c
11 $(CC) $(CFLAGS) -c lh5_extract.c -o lh5_extract.o
12
13lh5_test: lh5_extract.o lh5_test.c
14 $(CC) $(CFLAGS) lh5_extract.o lh5_test.c -o lh5_test
Luc Verhaegen462b7762009-06-10 16:56:26 +020015
Luc Verhaegen6f3fe852009-01-07 15:34:58 +010016clean:
Luc Verhaegen1646a412009-06-16 08:22:14 +020017 rm -f *.o
Luc Verhaegen6f3fe852009-01-07 15:34:58 +010018 rm -f amideco
Luc Verhaegen1646a412009-06-16 08:22:14 +020019 rm -f lh5_test