updated unix makefile

dev
Ben Russell (300178622) 2016-02-24 20:47:15 +00:00
parent c6f9510ea5
commit 13357063d6
2 changed files with 5 additions and 2 deletions

View File

@ -22,7 +22,7 @@ LIBS_Lua = `./findlua.sh --libs`
# Lua is not an acronym. Get used to typing it with lower case u/a.
LIBS_zlib = -lz
LIBS_sackit = xlibinc/libsackit.a
LIBS = -Lxlibinc -lm $(LIBS_Lua) $(LIBS_SDL) $(LIBS_zlib) $(LIBS_sackit) -lGL -lGLEW $(LIBS_ENet)
LIBS = -Lxlibinc -lm $(LIBS_Lua) $(LIBS_SDL) $(LIBS_zlib) $(LIBS_sackit) -lGL -lGLEW $(LIBS_ENet) -ldl
BINNAME = iceball

View File

@ -14,10 +14,13 @@ OBJS = \
$(OBJDIR)/vecmath.o \
$(OBJDIR)/dsp.o \
$(OBJDIR)/map.o $(OBJDIR)/model.o \
$(OBJDIR)/img.o $(OBJDIR)/$(RENDERER)/render.o $(OBJDIR)/$(RENDERER)/render_img.o \
$(OBJDIR)/img.o \
$(OBJDIR)/$(RENDERER)/render.o $(OBJDIR)/$(RENDERER)/render_img.o \
$(OBJDIR)/$(RENDERER)/glad.o \
$(OBJDIR)/png.o \
$(OBJDIR)/lua.o $(OBJDIR)/network.o \
$(OBJDIR)/path.o $(OBJDIR)/json.o \
$(OBJDIR)/random.o \
$(OBJDIR)/wav.o
# TODO: make the renderer part not depend on, say, render_img.o