]> git.sesse.net Git - movit/blobdiff - Makefile
Start actually piecing together the GLSL shaders from the effect chain.
[movit] / Makefile
index b8b0f37a41b754099ad1c99327127bd048b84a13..2beee8bec36064fef18cc028addba21e01b6834c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,16 @@ CC=gcc
 CXX=g++
 CXXFLAGS=-Wall
 LDFLAGS=-lSDL -lSDL_image -lGL
+OBJS=main.o util.o widgets.o effect.o effect_chain.o
+OBJS += lift_gamma_gain_effect.o gamma_expansion_effect.o colorspace_conversion_effect.o
 
-test: test.o util.o
-       $(CXX) -o test test.o util.o $(LDFLAGS)
+test: $(OBJS)
+       $(CXX) -o test $(OBJS) $(LDFLAGS)
 
 .o: .cpp
        $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
 
 clean:
-       $(RM) test test.o util.o
+       $(RM) test $(OBJS)
 
 .PHONY: clean