]> git.sesse.net Git - movit/blobdiff - Makefile
Move Node and Phase out from being inner classes, given that we soon want to expose...
[movit] / Makefile
index 2ef5d1cce23c0c61030cb010e6733f191e262ab9..21e76aacf4342f52973096c83dd7ee3984568e16 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,14 @@
 CC=gcc
 CXX=g++
 CXXFLAGS=-Wall -g
-LDFLAGS=-lSDL -lSDL_image -lGL
+LDFLAGS=-lSDL -lSDL_image -lGL -lrt
 
 # Core.
-OBJS=main.o util.o widgets.o effect.o effect_chain.o flat_input.o
+OBJS=main.o util.o widgets.o effect.o effect_chain.o
+
+# Inputs.
+OBJS += flat_input.o
+OBJS += ycbcr_input.o
 
 # Effects.
 OBJS += lift_gamma_gain_effect.o
@@ -27,9 +31,10 @@ test: $(OBJS)
 %.o: %.cpp
        $(CXX) -MMD $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
 
--include $(OBJS:.o=.d)
+DEPS=$(OBJS:.o=.d)
+-include $(DEPS)
 
 clean:
-       $(RM) test $(OBJS)
+       $(RM) test $(OBJS) $(DEPS)
 
 .PHONY: clean