From: <at...@us...> - 2006-06-15 16:46:21
|
Revision: 344 Author: atani Date: 2006-06-15 09:44:27 -0700 (Thu, 15 Jun 2006) ViewCVS: http://svn.sourceforge.net/cadcdev/?rev=344&view=rev Log Message: ----------- updated SDL endian.h to point to system endian.h updated examples to allow including libs from $TIKI_PLAT/lib Modified Paths: -------------- tiki/examples/TikiTest/Makefile tiki/examples/console/TikiSnake/Makefile tiki/sdl/include/machine/endian.h Modified: tiki/examples/TikiTest/Makefile =================================================================== --- tiki/examples/TikiTest/Makefile 2006-06-11 23:35:13 UTC (rev 343) +++ tiki/examples/TikiTest/Makefile 2006-06-15 16:44:27 UTC (rev 344) @@ -3,7 +3,7 @@ OBJS = $(patsubst %.cpp,%.o,$(wildcard src/*.cpp)) all: $(OBJS) - $(CXX) -L../../$(TIKI_PLAT) $(OBJS) $(TIKI_BASE_LIBS) -o tikitest + $(CXX) -L../../$(TIKI_PLAT) -L../../$(TIKI_PLAT)/lib $(OBJS) $(TIKI_BASE_LIBS) -o tikitest clean: -rm -f $(OBJS) tikitest Modified: tiki/examples/console/TikiSnake/Makefile =================================================================== --- tiki/examples/console/TikiSnake/Makefile 2006-06-11 23:35:13 UTC (rev 343) +++ tiki/examples/console/TikiSnake/Makefile 2006-06-15 16:44:27 UTC (rev 344) @@ -3,7 +3,7 @@ OBJS = $(patsubst %.cpp,%.o,$(wildcard src/*.cpp)) all: $(OBJS) - $(CXX) -L../../../$(TIKI_PLAT) $(OBJS) $(TIKI_BASE_LIBS) -o tikisnake + $(CXX) -L../../../$(TIKI_PLAT) -L../../../$(TIKI_PLAT)/lib $(OBJS) $(TIKI_BASE_LIBS) -o tikisnake clean: -rm -f $(OBJS) tikisnake Modified: tiki/sdl/include/machine/endian.h =================================================================== --- tiki/sdl/include/machine/endian.h 2006-06-11 23:35:13 UTC (rev 343) +++ tiki/sdl/include/machine/endian.h 2006-06-15 16:44:27 UTC (rev 344) @@ -1,9 +1,4 @@ -#undef LITTLE_ENDIAN -#undef BIG_ENDIAN -#undef BYTE_ORDER - -#define LITTLE_ENDIAN 1234 -#define BIG_ENDIAN 4321 -#define BYTE_ORDER LITTLE_ENDIAN - +#define __USE_BSD 1 +#include <endian.h> +#undef __USE_BSD This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |