X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=makefile;h=a3f094c114a55e70d2ceb958ffa7eb825cff8304;hb=d37fbfc90748851561e9ebee88a274985a1f1546;hp=34e3982cbfd53e0eccd995150290f36705c03ad3;hpb=b985ed9473b61e0e54eb1ac81ef684b178502103;p=lugaru.git diff --git a/makefile b/makefile index 34e3982..a3f094c 100644 --- a/makefile +++ b/makefile @@ -26,6 +26,8 @@ endif DEFINES := \ -DPLATFORM_UNIX=1 \ + -DPLATFORM_LINUX=1 \ + -DUSE_SDL=1 \ INCLUDES := \ -I./SDL12/include \ @@ -33,7 +35,8 @@ INCLUDES := \ -I./OpenGL/GL \ -I$(SRCDIR) \ -CFLAGS := -w -g -c $(OPT) $(INCLUDES) $(DEFINES) -fsigned-char +CFLAGS := -g -c $(OPT) $(INCLUDES) $(DEFINES) -fsigned-char +#CFLAGS += -w ifeq ($(strip $(macosx)),true) CFLAGS += -fpascal-strings -faltivec -fasm -force_cpusubtype_ALL -Wno-long-double -mdynamic-no-pic @@ -73,11 +76,12 @@ SRCS := \ unpack.c \ unpack_private.c \ Weapons.cpp \ - WinDefs.cpp \ + MacCompatibility.cpp \ WinInput.cpp \ - logger\logger.cpp \ + logger/logger.cpp \ Driver.cc \ Md5.cc \ + SDLInput.cpp \ OBJS := $(SRCS:.cpp=.o)