aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: fe35df0a0eb2c026ef69b647fa0881f12848136c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
OBJECTS = \
	cue-bin-split.o \
	misc.o

CFLAGS += -Wall -Werror


all: cue-bin-split

cue-bin-split: $(OBJECTS)
	$(CC) -o $@ $^ $(LDFLAGS)

%.o: %.c %.h
	$(CC) -c -o $@ $< $(CFLAGS)


test: all
	@./test/run-tests.sh

clean:
	rm -vf cue-bin-split *.o

.PHONY: all clean test