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 ...@@ -98,12 +98,12 @@ DEVICE_CPPFLAGS += -DWITH_OSS
endif endif
TEST_OBJS = $(addsuffix .o,$(TESTS)) TEST_OBJS = $(addsuffix .o,$(TESTS))
DEPS = $(OBJS:.o=.d) $(TEST_OBJS:.o=.d) DEPS = $(OBJS:.o=.d) $(TEST_OBJS:.o=.d) mktimecode.d
# Rules # Rules
.PHONY: all .PHONY: all
all: xwax tests all: xwax mktimecode tests
# Dynamic versioning # Dynamic versioning
...@@ -126,6 +126,11 @@ xwax.o: CPPFLAGS += $(DEVICE_CPPFLAGS) ...@@ -126,6 +126,11 @@ xwax.o: CPPFLAGS += $(DEVICE_CPPFLAGS)
xwax.o: CPPFLAGS += -DEXECDIR=\"$(EXECDIR)\" -DVERSION=\"$(VERSION)\" xwax.o: CPPFLAGS += -DEXECDIR=\"$(EXECDIR)\" -DVERSION=\"$(VERSION)\"
xwax.o: .version xwax.o: .version
# Supporting programs
mktimecode: mktimecode.o
mktimecode: LDLIBS += -lm
# Install to system # Install to system
.PHONY: install .PHONY: install
...@@ -185,6 +190,7 @@ clean: ...@@ -185,6 +190,7 @@ clean:
rm -f xwax \ rm -f xwax \
$(OBJS) $(DEPS) \ $(OBJS) $(DEPS) \
$(TESTS) $(TEST_OBJS) \ $(TESTS) $(TEST_OBJS) \
mktimecode mktimecode.o \
TAGS TAGS
-include $(DEPS) -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