X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=163f01fbc6b19875bfe77f0e0002aad618d31e5f;hb=313480bbe9994a200ed9a4355d97a033bf0d6151;hp=12024ae6ff2a9d70e790c27482f2efbcc8a34e6c;hpb=fca3f24e31b3bbbe81ce0ef00da901480a2a92cc;p=andemo diff --git a/Makefile b/Makefile index 12024ae..163f01f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -src = $(wildcard src/*.c) $(wildcard src/pc/*.c) libs/glew/glew.c +src = $(wildcard src/*.c) $(wildcard src/scr/*.c) $(wildcard src/pc/*.c) libs/glew/glew.c obj = $(src:.c=.o) dep = $(src:.c=.d) bin = demo @@ -7,11 +7,11 @@ warn = -pedantic -Wall dbg = -g #opt = -O3 -ffast-math -fno-strict-aliasing def = -DMINIGLUT_USE_LIBC -DGLEW_STATIC -incdir = -Isrc -Ilibs -Ilibs/imago/src -Ilibs/glew +incdir = -Isrc -Ilibs -Ilibs/imago/src -Ilibs/treestore -Ilibs/glew libdir = -Llibs/unix CFLAGS = $(warn) $(dbg) $(opt) $(def) $(incdir) -fcommon -MMD -LDFLAGS = $(libdir) $(libsys) $(libgl) -limago -lpsys -lanim $(libc) +LDFLAGS = $(libdir) $(libsys) $(libgl) -limago -lpsys -lanim -ltreestore $(libc) sys ?= $(shell uname -s | sed 's/MINGW.*/mingw/') ifeq ($(sys), mingw)