A tool to construct HDR-images from a series of exposures.

Makefile 294B

1234567891011121314151617
  1. CXXFLAGS= -std=c++98 -pedantic -Wall -O3
  2. LIBS= -ljpeg
  3. OBJS= haader.o image.o exif.o csv_reader.o
  4. haader: main.cpp $(OBJS)
  5. $(CXX) main.cpp -o haader $(OBJS) $(CXXFLAGS) $(LIBS)
  6. run: haader
  7. ./haader
  8. %.o: %.c %.h
  9. $(CXX) $< -c -o $@ $(CFLAGS)
  10. clean:
  11. rm -f haader $(OBJS)
  12. .PHONY: run clean