Skip to content

Instantly share code, notes, and snippets.

@agarwalsiddhant10
agarwalsiddhant10 / Makefile
Created February 13, 2018 14:52 — forked from kevinhughes27/Makefile
g++ Makefile for OpenCV Project
CC = g++
CFLAGS = -g -Wall
SRCS = HelloWorld.cpp
PROG = HelloWorld
OPENCV = `pkg-config opencv --cflags --libs`
LIBS = $(OPENCV)
$(PROG):$(SRCS)
$(CC) $(CFLAGS) -o $(PROG) $(SRCS) $(LIBS)