From 73b2378478648136af016868e230a8b7cdb9a0bd Mon Sep 17 00:00:00 2001 From: David Phillips Date: Mon, 6 Jul 2015 22:16:37 +1200 Subject: Switched to getopt, added useful messages rather than assertions --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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) -- cgit v1.1