X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile;h=b2cb05971f1a2f0093226e786cb0c4de53cf5bb4;hp=af7ca8e8ee5f862f6e419edd0c9a61a7e4e96d5e;hb=86b456fd6112ba54dd890c4f8be408d297de07d5;hpb=8df9b9f19175effb728f3b587a65dd753457670e diff --git a/Makefile b/Makefile index af7ca8e..b2cb059 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,17 @@ CC=gcc CXX=g++ -CXXFLAGS=-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 -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