Open GoogleCodeExporter opened 8 years ago
54321 is five games in four-, three-, or two-dimensions for one player. 54321 takes five classic two-dimensional puzzle games and extends them into three and four dimensions. 54321 was created for the 1mb SDL Game Programming Contest sponsored by: Linux Journal, Loki Software, and No Starch Press. It has some isues, i can't play yet. 54321/archs/Linux/variables.GNU: ############################################################ CXX := c++ STRIP := strip ############################################################ MKDIR_CMD = test -d $(@D) || mkdir -p $(@D) ############################################################ SDL := /usr/local SDL_IMAGE := /usr/local CPPFLAGS += -I${SDL}/include/SDL -I${SDL_IMAGE}/include/SDL LDFLAGS += \ -L${SDL_IMAGE}/lib -Wl,-rpath -Wl,${SDL_IMAGE}/lib \ -L${SDL}/lib -Wl,-rpath -Wl,${SDL}/lib \ -lSDL_image -lSDL -lSDLmain -lpthread -lpng prog: Release/54321-$(ARCH) Release/54321-$(ARCH): -@$(MKDIR_CMD) echo '#!/bin/sh' > $@ echo "cd ./bin/$(ARCH) && exec ./54321 \$$*" >> $@ chmod 755 $@ -- modified version: ############################################################ CXX := g++ LXX := ld STRIP := strip ############################################################ MKDIR_CMD = test -d $(@D) || mkdir -p $(@D) ############################################################ SDL := /usr SDL_IMAGE := /usr CPPFLAGS += -I${SDL}/include/SDL -I${SDL_IMAGE}/include/SDL LDFLAGS += \ -L${SDL_IMAGE}/lib,${SDL_IMAGE}/lib \ -L${SDL}/lib,${SDL}/lib \ -lSDL_image -lSDL -lSDLmain -lpthread -lpng prog: Release/54321-$(ARCH) Release/54321-$(ARCH): -@$(MKDIR_CMD) echo '#!/bin/sh' > $@ echo "cd ./bin/$(ARCH) && exec ./54321 \$$*" >> $@ chmod 755 $@ gives: ld -O -DNDEBUG=1 -o Release/bin/Linux/54321 Build/Linux/cube.o Build/Linux/font.o Build/Linux/soundDev.o Build/Linux/controller.o Build/Linux/view.o Build/Linux/mainmenuController.o Build/Linux/mainmenuView.o Build/Linux/help.o Build/Linux/flipflop.o Build/Linux/flipflopController.o Build/Linux/flipflopView.o Build/Linux/bomb.o Build/Linux/bombController.o Build/Linux/bombView.o Build/Linux/maze.o Build/Linux/mazeController.o Build/Linux/mazeView.o Build/Linux/peg.o Build/Linux/pegController.o Build/Linux/pegView.o Build/Linux/tile.o Build/Linux/tileController.o Build/Linux/tileView.o Build/Linux/life.o Build/Linux/lifeController.o Build/Linux/lifeView.o Build/Linux/main.o -L/usr/lib,/usr/lib -L/usr/lib,/usr/lib -lSDL_image -lSDL -lSDLmain -lpthread -lpng ld: warning: cannot find entry symbol _start; defaulting to 08048e10 http://www.google.com.tr/search?sourceid=chrome&ie=UTF-8&q=cannot+find+entry+sym bol+_start%3B+defaulting+to links: http://www.happypenguin.org/show?54321 http://www.filewatcher.com/m/54321.tgz.3075375.0.0.html
Original issue reported on code.google.com by ozbekanil on 23 Mar 2011 at 4:45
ozbekanil
Original comment by ozbekanil on 23 Mar 2011 at 4:48
Original issue reported on code.google.com by
ozbekanil
on 23 Mar 2011 at 4:45