summaryrefslogtreecommitdiff
path: root/Makefile
blob: dc00b18c843884d08802642c362619e4de868cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
MAKE = make
CFLAGS = -g -fpack-struct -Wall
CC = gcc

all: amideco bcpvpd

AMIDECO_OBJS = lh5_extract.o amideco.o
amideco: $(AMIDECO_OBJS)
	$(CC) $(CFLAGS) $(AMIDECO_OBJS) -o amideco

bcpvpd: bcpvpd.c
	$(CC) $(CFLAGS) bcpvpd.c -o bcpvpd

# just here to easily verify the functionality of the lh5 routine
LH5_TEST_OBJS = lh5_extract.o lh5_test.o
lh5_test: $(LH5_TEST_OBJS)
	$(CC) $(CFLAGS) $(LH5_TEST_OBJS) -o lh5_test

clean: 
	rm -f *.o
	rm -f amideco
	rm -f bcpvpd
	rm -f lh5_test