X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=Makefile;h=4dbaf121fc930491f9b1f76641d01f541f469430;hp=af7ca8e8ee5f862f6e419edd0c9a61a7e4e96d5e;hb=f6c44598c9dad9ddd024c5f8f010d179a6d971fd;hpb=8df9b9f19175effb728f3b587a65dd753457670e diff --git a/Makefile b/Makefile index af7ca8e..4dbaf12 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 -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