aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 70a949385d92c78251aea2921a6c0ba0efd4b959 (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 %.h
	$(CC) -c -o $@ $< $(CFLAGS)


clean:
	rm -f cue-bin-split

distclean: clean
	rm -f *.o

.PHONY: all clean