projects
/
vrfileman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cybergrid
[vrfileman]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
5d666ac
..
dcb3c86
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-5,12
+5,14
@@
dbg = -g
# -----------------
src = $(wildcard src/*.cc)
# -----------------
src = $(wildcard src/*.cc)
-obj = $(src:.cc=.o)
+csrc = $(wildcard src/*.c)
+obj = $(src:.cc=.o) $(csrc:.c=.o)
dep = $(obj:.o=.d)
bin = vrfileman
warn = -pedantic -Wall
dep = $(obj:.o=.d)
bin = vrfileman
warn = -pedantic -Wall
+CFLAGS = $(warn) $(opt) $(dbg) $(inc) `pkg-config --cflags sdl2`
CXXFLAGS = $(warn) $(opt) $(dbg) $(inc) `pkg-config --cflags sdl2`
LDFLAGS = $(libgl) -lgmath `pkg-config --libs sdl2`
CXXFLAGS = $(warn) $(opt) $(dbg) $(inc) `pkg-config --cflags sdl2`
LDFLAGS = $(libgl) -lgmath `pkg-config --libs sdl2`