[CHG] Moving stuff around (step 3)

This commit is contained in:
Crayon2000 2009-02-13 20:44:54 +00:00
parent dcd647d69b
commit 5f7b565656
25 changed files with 19 additions and 6 deletions

13
examples/Makefile Normal file
View file

@ -0,0 +1,13 @@
SUBDIRS:= `ls | egrep -v '^(CVS)$$'`
DATESTRING := $(shell date +%Y)$(shell date +%m)$(shell date +%d)
all:
@for i in $(SUBDIRS); do if test -e $$i/Makefile ; then $(MAKE) -C $$i || { exit 1;} fi; done;
clean:
@rm -f *.bz2
@for i in $(SUBDIRS); do if test -e $$i/Makefile ; then $(MAKE) -C $$i clean || { exit 1;} fi; done;
dist: clean
@tar --exclude=*CVS* -cvjf wii-examples-$(DATESTRING).tar.bz2 *

View file

@ -17,7 +17,7 @@ include $(DEVKITPPC)/wii_rules
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
TARGET := $(notdir $(CURDIR)) TARGET := $(notdir $(CURDIR))
BUILD := build BUILD := build
SOURCES := source source/gfx ../GRRLIB/GRRLIB ../GRRLIB/lib/libpng ../GRRLIB/lib/libpng/pngu SOURCES := source source/gfx ../../GRRLIB/GRRLIB ../../GRRLIB/lib/libpng ../../GRRLIB/lib/libpng/pngu
DATA := data DATA := data
INCLUDES := INCLUDES :=
@ -39,7 +39,7 @@ LIBS := -lpng -ljpeg -lz -lfat -lwiiuse -lbte -logc -lm
# list of directories containing libraries, this must be the top level containing # list of directories containing libraries, this must be the top level containing
# include and lib # include and lib
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
LIBDIRS := $(CURDIR)/../GRRLIB LIBDIRS := $(CURDIR)/../../GRRLIB
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# no real need to edit anything past this point unless you need to add additional # no real need to edit anything past this point unless you need to add additional

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View file

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

Before

Width:  |  Height:  |  Size: 932 B

After

Width:  |  Height:  |  Size: 932 B

View file

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -6,7 +6,7 @@
Template Code 1 Template Code 1
============================================*/ ============================================*/
#include "../../GRRLIB/GRRLIB/GRRLIB.h" #include "../../../GRRLIB/GRRLIB/GRRLIB.h"
#include <ogc/lwp_watchdog.h> // needed for gettime and ticks_to_millisecs #include <ogc/lwp_watchdog.h> // needed for gettime and ticks_to_millisecs
#include <stdlib.h> #include <stdlib.h>

View file

@ -17,7 +17,7 @@ include $(DEVKITPPC)/wii_rules
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
TARGET := $(notdir $(CURDIR)) TARGET := $(notdir $(CURDIR))
BUILD := build BUILD := build
SOURCES := source source/gfx ../GRRLIB/GRRLIB ../GRRLIB/lib/libpng ../GRRLIB/lib/libpng/pngu SOURCES := source source/gfx ../../GRRLIB/GRRLIB ../../GRRLIB/lib/libpng ../../GRRLIB/lib/libpng/pngu
DATA := data DATA := data
INCLUDES := INCLUDES :=
@ -39,7 +39,7 @@ LIBS := -lpng -ljpeg -lz -lfat -lwiiuse -lbte -logc -lm
# list of directories containing libraries, this must be the top level containing # list of directories containing libraries, this must be the top level containing
# include and lib # include and lib
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
LIBDIRS := $(CURDIR)/../GRRLIB LIBDIRS := $(CURDIR)/../../GRRLIB
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# no real need to edit anything past this point unless you need to add additional # no real need to edit anything past this point unless you need to add additional

View file

@ -6,7 +6,7 @@
Minimum Code To Use GRRLIB Minimum Code To Use GRRLIB
============================================*/ ============================================*/
#include "../../GRRLIB/GRRLIB/GRRLIB.h" #include "../../../GRRLIB/GRRLIB/GRRLIB.h"
#include <stdlib.h> #include <stdlib.h>