aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 62611f9b5b9e11f72bffe910d463d034f6b9f454 (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 \
	misc.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