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
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user