Skip to content

Instantly share code, notes, and snippets.

@petabyt
Created June 3, 2022 02:39
Show Gist options
  • Save petabyt/87a627d781a0f7ffa9db3b4f5f5a7a72 to your computer and use it in GitHub Desktop.
Save petabyt/87a627d781a0f7ffa9db3b4f5f5a7a72 to your computer and use it in GitHub Desktop.
# Makefile to compile DeepSkyStackerCL
# Written by Daniel Cook @petabyt
CPP=c++
IN_FILES=DeepSkyStackerCL.cpp stdafx.cpp
OUT_FILES=$(IN_FILES:.cpp=.o)
CPPFLAGS=-std=c++11 -fmax-errors=1
CPPFLAGS+=-I ./
CPPFLAGS+=-I ../DeepSkyStacker
CPPFLAGS+=-I ../Libraw
CPPFLAGS+=-I ../ZCLass
CPPFLAGS+=-I ../cfitsio
CPPFLAGS+=-I ../Tools
CPPFLAGS+=-I ../Zlib
CPPFLAGS+=-include patch.h
CPPFLAGS+=-include ../DeepSkyStacker/DSSCommon.h
DeepSkyStackerCL: $(OUT_FILES)
$(CPP) $(OUT_FILES) -o DeepSkyStackerCL
%.o: %.cpp
$(CPP) $(CPPFLAGS) $^ -o $@
clean:
$(RM) *.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment