projects
/
erebus2020
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
switched to freeglut for now. seems to work slightly better with all the
[erebus2020]
/
xerebus
/
Makefile
diff --git
a/xerebus/Makefile
b/xerebus/Makefile
index
15b9378
..
ba88b32
100644
(file)
--- a/
xerebus/Makefile
+++ b/
xerebus/Makefile
@@
-1,15
+1,16
@@
+include ../cfg.mk
+
src = $(wildcard src/*.c)
obj = $(src:.c=.o)
dep = $(src:.c=.d)
bin = xerebus
src = $(wildcard src/*.c)
obj = $(src:.c=.o)
dep = $(src:.c=.d)
bin = xerebus
-def = -DMINIGLUT_USE_LIBC
incdir = -I../liberebus/src
libdir = -L../liberebus
CFLAGS = -pedantic -Wall $(opt_dbg) $(opt_opt) $(def) $(incdir)
incdir = -I../liberebus/src
libdir = -L../liberebus
CFLAGS = -pedantic -Wall $(opt_dbg) $(opt_opt) $(def) $(incdir)
-LDFLAGS = $(libdir) -lerebus -lGL -lX11 -pthread -lm
+LDFLAGS = $(libdir) -lerebus -lGL -lglut -lX11 -pthread -lm
$(bin): $(obj) ../liberebus/liberebus.a
$(CC) -o $@ $(obj) $(LDFLAGS)
$(bin): $(obj) ../liberebus/liberebus.a
$(CC) -o $@ $(obj) $(LDFLAGS)