]> git.sesse.net Git - movit/blobdiff - Makefile
Start actually piecing together the GLSL shaders from the effect chain.
[movit] / Makefile
index af7ca8e8ee5f862f6e419edd0c9a61a7e4e96d5e..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
-       $(CXX) -o test test.o $(LDFLAGS)
+test: $(OBJS)
+       $(CXX) -o test $(OBJS) $(LDFLAGS)
 
 .o: .cpp
        $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
 
 clean:
-       $(RM) test test.o
+       $(RM) test $(OBJS)
 
 .PHONY: clean