Skip to content

Instantly share code, notes, and snippets.

@student-petercai
student-petercai / Makefile
Created December 13, 2018 01:14 — 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)