aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-07-06 22:16:37 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-07-06 22:16:37 +1200
commit73b2378478648136af016868e230a8b7cdb9a0bd (patch)
treeb2f814716b24cdea0211c4dec7b13885fa1efe9d /Makefile
parent0a13ff9a4815d1ad07f9655d1d662dd9e0a284f0 (diff)
downloadcue-bin-split-73b2378478648136af016868e230a8b7cdb9a0bd.tar.xz
Switched to getopt, added useful messages rather than assertions
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 66dab1d..a2ea28f 100644
--- a/Makefile
+++ b/Makefile
@@ -3,14 +3,17 @@
.POSIX:
include config.mk
-OBJECTS = cue-bin-split.o
+OBJECTS = \
+ cue-bin-split.o \
+ timestamp.o
+
CFLAGS += -Wall -Werror
all: cue-bin-split
cue-bin-split: $(OBJECTS)
- $(CC) -o $(EXEC_NAME) $< $(LDFLAGS)
+ $(CC) -o $(EXEC_NAME) $^ $(LDFLAGS)
%.o: %.c
$(CC) -c -o $@ $< $(CFLAGS)