You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
1.9 KiB
99 lines
1.9 KiB
# 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
|