# SlickEdit generated file. Do not edit this file except in designated areas. # Make command to use for dependencies MAKE=make RM=rm MKDIR=mkdir # -----Begin user-editable area----- # -----End user-editable area----- # If no configuration is specified, "Debug" will be used ifndef CFG CFG=Debug endif # # Configuration: Debug # ifeq "$(CFG)" "Debug" OUTDIR=Debug OUTFILE=$(OUTDIR)/nph-video CFG_INC= CFG_LIB=-lm -lpthread `pkg-config --libs --cflags opencv` CFG_OBJ= COMMON_OBJ=$(OUTDIR)/nph-video.o OBJ=$(COMMON_OBJ) $(CFG_OBJ) ALL_OBJ=$(OUTDIR)/nph-video.o -lm -lpthread `pkg-config --libs \ --cflags opencv` COMPILE=g++ -c -g -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< LINK=g++ -g -o "$(OUTFILE)" $(ALL_OBJ) # Pattern rules $(OUTDIR)/%.o : %.cpp $(COMPILE) # Build rules all: $(OUTFILE) $(OUTFILE): $(OUTDIR) $(OBJ) $(LINK) $(OUTDIR): $(MKDIR) -p "$(OUTDIR)" # Rebuild this project rebuild: cleanall all # Clean this project clean: $(RM) -f $(OUTFILE) $(RM) -f $(OBJ) # Clean this project and all dependencies cleanall: clean endif # # Configuration: Release # ifeq "$(CFG)" "Release" OUTDIR=Release OUTFILE=$(OUTDIR)/nph-video CFG_INC= CFG_LIB=-lm -lpthread `pkg-config --libs --cflags opencv` CFG_OBJ= COMMON_OBJ=$(OUTDIR)/nph-video.o OBJ=$(COMMON_OBJ) $(CFG_OBJ) ALL_OBJ=$(OUTDIR)/nph-video.o -lm -lpthread `pkg-config --libs \ --cflags opencv` COMPILE=g++ -c -Ofast -o "$(OUTDIR)/$(*F).o" $(CFG_INC) $< LINK=g++ -o "$(OUTFILE)" $(ALL_OBJ) # Pattern rules $(OUTDIR)/%.o : %.cpp $(COMPILE) # Build rules all: $(OUTFILE) $(OUTFILE): $(OUTDIR) $(OBJ) $(LINK) $(OUTDIR): $(MKDIR) -p "$(OUTDIR)" # Rebuild this project rebuild: cleanall all # Clean this project clean: $(RM) -f $(OUTFILE) $(RM) -f $(OBJ) # Clean this project and all dependencies cleanall: clean endif