]> git.sesse.net Git - movit/blobdiff - Makefile
Add a diffusion effect, and hook it up in the GUI.
[movit] / Makefile
index 5695c2eeef0428cd76460a64ead5d6b9cb76e4df..e17e2296971e08be797ccd6a65769a29926a9c19 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,15 +1,17 @@
 CC=gcc
 CXX=g++
-CFLAGS=-std=gnu99 -Wall
+CXXFLAGS=-Wall -g
 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 gamma_compression_effect.o colorspace_conversion_effect.o saturation_effect.o vignette_effect.o mirror_effect.o blur_effect.o diffusion_effect.o sandbox_effect.o
 
-test: test.o
-       $(CXX) -o test test.o $(LDFLAGS)
+test: $(OBJS)
+       $(CXX) -o test $(OBJS) $(LDFLAGS)
 
 .o: .cpp
-       $(CXX) $(CXXFLAGS) $(CCFLAGS) -o $@ $<
+       $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $<
 
 clean:
-       $(RM) test test.o
+       $(RM) test $(OBJS)
 
 .PHONY: clean