3 CXXFLAGS=-Wall -g $(shell pkg-config --cflags eigen3 )
4 LDFLAGS=-lSDL -lSDL_image -lGL -lrt
7 OBJS=main.o util.o widgets.o effect.o effect_chain.o
14 OBJS += lift_gamma_gain_effect.o
15 OBJS += white_balance_effect.o
16 OBJS += gamma_expansion_effect.o
17 OBJS += gamma_compression_effect.o
18 OBJS += colorspace_conversion_effect.o
19 OBJS += saturation_effect.o
20 OBJS += vignette_effect.o
21 OBJS += mirror_effect.o
23 OBJS += diffusion_effect.o
26 OBJS += resize_effect.o
27 OBJS += deconvolution_sharpen_effect.o
28 OBJS += sandbox_effect.o
31 $(CXX) -o test $(OBJS) $(LDFLAGS)
34 $(CXX) -MMD $(CPPFLAGS) $(CXXFLAGS) -o $@ -c $<
40 $(RM) test $(OBJS) $(DEPS)