X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=xerebus%2FMakefile;h=ba88b327e14e7b94fe3688cc3c68b519d53ddaa7;hb=HEAD;hp=dfb086128054327d2014bd13fbb3a1e274cf6077;hpb=b5cff57ff6e83f7660e31636a986d2fcedf786e5;p=erebus2020 diff --git a/xerebus/Makefile b/xerebus/Makefile index dfb0861..ba88b32 100644 --- a/xerebus/Makefile +++ b/xerebus/Makefile @@ -1,17 +1,18 @@ +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 +LDFLAGS = $(libdir) -lerebus -lGL -lglut -lX11 -pthread -lm -$(bin): $(obj) +$(bin): $(obj) ../liberebus/liberebus.a $(CC) -o $@ $(obj) $(LDFLAGS) -include $(dep)