Makefile: Add exemple for including external lib

This commit is contained in:
Mathieu Maret 2017-06-12 14:34:04 +02:00
parent b0541348aa
commit 3f6fd7ddb0

View File

@ -2,11 +2,11 @@
# -MMD is used to generate .d files for header dependencies
CPPFLAGS = -MMD
# main compilation
CFLAGS ?= -Werror -Wall
CFLAGS ?= -Werror -Wall #$(pkg-config --cflags sdl)
#Linker flags
LDFLAGS =
#Linker path
LDLIBS =
LDLIBS = #$(pkg-config --libs sdl)
program = test
sources = $(wildcard *.c)