File tree Expand file tree Collapse file tree 2 files changed +8
-17
lines changed
Expand file tree Collapse file tree 2 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 1- ifndef USER_DEF_SYSTEMC_DIR
21SYSTEMC? =$(HOME ) /systemc-2.3.3
3- endif # USER_DEF_SYSTEMC_DIR
42TARGET? =test
53
64# Compiler
@@ -19,15 +17,6 @@ BINDIR=./
1917INCDIR =-I. -I./include -I$(SYSTEMC ) /include -Ibasic_protocol -I$(SYSTEMC ) /include/tlm_core/tlm_2
2018LIBDIR =-L. -L$(SYSTEMC ) /lib-linux64
2119
22- ifdef INCLUDE_OPENCV
23- # Target
24- LIBS+ =-lopencv_imgcodecs -lopencv_core -lopencv_highgui -lopencv_imgproc
25-
26- # Source directories
27- INCDIR+ =-I/usr/local/include/opencv4
28- LIBDIR+ =-L/usr/local/lib
29- endif # INCLUDE_OPENCV
30-
3120SOURCES := $(wildcard $(SRCDIR ) /* .cpp)
3221INCLUDES := $(wildcard $(INCDIR ) /* .hpp)
3322OBJECTS := $(SOURCES:$(SRCDIR ) /%.cpp=$(OBJDIR ) /%.o )
Original file line number Diff line number Diff line change 1- # Adding stb lib for image handling
2- INCDIR_STB =lib/stb
3- INCLUDES_STB := $(wildcard $(INCDIR_STB ) /* .h)
4-
51# Include common Makefile
62include ../Makefile
73
8- # Include stb lib for compilation
9- INCLUDES += INCLUDES_STB
4+ ifdef INCLUDE_OPENCV
5+ # Target
6+ LIBS+ =-lopencv_imgcodecs -lopencv_core -lopencv_highgui -lopencv_imgproc
7+
8+ # Source directories
9+ INCDIR+ =-I/usr/local/include/opencv4
10+ LIBDIR+ =-L/usr/local/lib
11+ endif # INCLUDE_OPENCV
1012
1113# Defining preprocessor directive for debug
1214ifdef IPS_DEBUG_EN
You can’t perform that action at this time.
0 commit comments