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
1 changed files with 2 additions and 2 deletions

View File

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