blob: dc00b18c843884d08802642c362619e4de868cae [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 Verhaegen57741672009-06-16 23:34:21 +02005all: amideco bcpvpd
Luc Verhaegen01e13002009-01-07 15:36:37 +01006
Luc Verhaegen57741672009-06-16 23:34:21 +02007AMIDECO_OBJS = lh5_extract.o amideco.o
8amideco: $(AMIDECO_OBJS)
9 $(CC) $(CFLAGS) $(AMIDECO_OBJS) -o amideco
Luc Verhaegen6f3fe852009-01-07 15:34:58 +010010
Luc Verhaegen57741672009-06-16 23:34:21 +020011bcpvpd: bcpvpd.c
12 $(CC) $(CFLAGS) bcpvpd.c -o bcpvpd
Luc Verhaegen1646a412009-06-16 08:22:14 +020013
Luc Verhaegen57741672009-06-16 23:34:21 +020014# just here to easily verify the functionality of the lh5 routine
15LH5_TEST_OBJS = lh5_extract.o lh5_test.o
16lh5_test: $(LH5_TEST_OBJS)
17 $(CC) $(CFLAGS) $(LH5_TEST_OBJS) -o lh5_test
Luc Verhaegen462b7762009-06-10 16:56:26 +020018
Luc Verhaegen6f3fe852009-01-07 15:34:58 +010019clean:
Luc Verhaegen1646a412009-06-16 08:22:14 +020020 rm -f *.o
Luc Verhaegen6f3fe852009-01-07 15:34:58 +010021 rm -f amideco
Luc Verhaegen57741672009-06-16 23:34:21 +020022 rm -f bcpvpd
Luc Verhaegen1646a412009-06-16 08:22:14 +020023 rm -f lh5_test