Makefile: Add exemple for including external lib
This commit is contained in:
parent
b0541348aa
commit
3f6fd7ddb0
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user