projects
/
vkrt
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed gph-math, will use a c library
[vkrt]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
0e3b0b4
..
bc47b29
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-8,16
+8,19
@@
spv = $(subst .vert,.vert.spv,$(vsdr)) \
bin = rt
dbg = -g
bin = rt
dbg = -g
+inc = -I/usr/include -Isubmodule/libimago/src -I/usr/local/include
CC = gcc
CC = gcc
+CXX = g++
CFLAGS = -pedantic -Wall $(dbg) -MMD
CFLAGS = -pedantic -Wall $(dbg) -MMD
-LDFLAGS = -lvulkan -lglfw
+CXXFLAGS = -pedantic -Wall $(dbg) -MMD $(opt) $(inc)
+LDFLAGS = -lvulkan -lglfw -lassimp -limago
.PHONY: all
all: $(bin) $(spv)
$(bin): $(obj)
.PHONY: all
all: $(bin) $(spv)
$(bin): $(obj)
- $(CC) -o $@ $(obj) $(LDFLAGS)
+ $(CXX) -o $@ $(obj) $(LDFLAGS)
%.vert.spv: %.vert
glslangValidator -V $< -o $@
%.vert.spv: %.vert
glslangValidator -V $< -o $@