EXE := $(RUNDIR)/lugaru-bin
-CXX := ccache g++
-CC := ccache gcc
-#CXX := g++
-#CC := gcc
+#CXX := ccache g++
+#CC := ccache gcc
+CXX := g++
+CC := gcc
LD := g++
-OPT := -O0
-#OPT := -O3 -fno-strict-aliasing -falign-loops=16 -fno-math-errno
+#OPT := -O0
+OPT := -O3 -fno-strict-aliasing -falign-loops=16 -fno-math-errno
#OPT := -Os -fno-strict-aliasing
# always use this on the Mac, even in debug builds, since we aren't building
endif
ifeq ($(strip $(use_fmod)),true)
- LDFLAGS += ./libfmod.so
+ POSTLDFLAGS += -lpthread ./libfmod-linux-x86.a
else
LDFLAGS += ./openal.so
endif
rm -f $(BINDIR)/$(SRCDIR)/*.o
rm -f $(BINDIR)/$(SRCDIR)/logger/*.o
rm -f $(BINDIR)/$(LIBPNGDIR)/*.o
- rm -f $(BINDIR)/$(JPEGLIB)/*.o
+ rm -f $(BINDIR)/$(JPEGLIBDIR)/*.o
rm -f $(BINDIR)/$(ZLIBDIR)/*.o
rm -f $(BINDIR)/$(LIBOGGDIR)/src/*.o
rm -f $(BINDIR)/$(LIBVORBISDIR)/lib/*.o