Commit 1c9c017f authored by Mark Hills's avatar Mark Hills
Browse files

Compile the timecode creator

parent 5ba5681a
......@@ -98,12 +98,12 @@ DEVICE_CPPFLAGS += -DWITH_OSS
endif
TEST_OBJS = $(addsuffix .o,$(TESTS))
DEPS = $(OBJS:.o=.d) $(TEST_OBJS:.o=.d)
DEPS = $(OBJS:.o=.d) $(TEST_OBJS:.o=.d) mktimecode.d
# Rules
.PHONY: all
all: xwax tests
all: xwax mktimecode tests
# Dynamic versioning
......@@ -126,6 +126,11 @@ xwax.o: CPPFLAGS += $(DEVICE_CPPFLAGS)
xwax.o: CPPFLAGS += -DEXECDIR=\"$(EXECDIR)\" -DVERSION=\"$(VERSION)\"
xwax.o: .version
# Supporting programs
mktimecode: mktimecode.o
mktimecode: LDLIBS += -lm
# Install to system
.PHONY: install
......@@ -185,6 +190,7 @@ clean:
rm -f xwax \
$(OBJS) $(DEPS) \
$(TESTS) $(TEST_OBJS) \
mktimecode mktimecode.o \
TAGS
-include $(DEPS)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment