aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 4acca2708fdb29bbafb4b6c690ff264d50539518 (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