aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: a2ea28ff161f072acad70fd4bf6ebe8d08aa3396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Makefile for cue-bin-split

.POSIX:
include config.mk

OBJECTS = \
	cue-bin-split.o \
	timestamp.o

CFLAGS += -Wall -Werror


all: cue-bin-split

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

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


clean:
	rm -f cue-bin-split

distclean: clean
	rm -f *.o

.PHONY: all clean