aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)