X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=erebus2020;a=blobdiff_plain;f=xerebus%2FMakefile;h=ba88b327e14e7b94fe3688cc3c68b519d53ddaa7;hp=15b93782c842557ecdaf90e58ea61402bf552ec3;hb=11a8b7dc9f82d6ed298cb18c94b8053c41832fa1;hpb=29ae0aac16008cd44d73f2ac8320504b907be607 diff --git a/xerebus/Makefile b/xerebus/Makefile index 15b9378..ba88b32 100644 --- 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 -def = -DMINIGLUT_USE_LIBC 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)