[CHG] Moving stuff around (step 3)
13
examples/Makefile
Normal 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 *
|
|
@ -17,7 +17,7 @@ include $(DEVKITPPC)/wii_rules
|
|||
#---------------------------------------------------------------------------------
|
||||
TARGET := $(notdir $(CURDIR))
|
||||
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
|
||||
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
|
||||
# include and lib
|
||||
#---------------------------------------------------------------------------------
|
||||
LIBDIRS := $(CURDIR)/../GRRLIB
|
||||
LIBDIRS := $(CURDIR)/../../GRRLIB
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# no real need to edit anything past this point unless you need to add additional
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 932 B After Width: | Height: | Size: 932 B |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
|
@ -6,7 +6,7 @@
|
|||
|
||||
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 <stdlib.h>
|
|
@ -17,7 +17,7 @@ include $(DEVKITPPC)/wii_rules
|
|||
#---------------------------------------------------------------------------------
|
||||
TARGET := $(notdir $(CURDIR))
|
||||
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
|
||||
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
|
||||
# include and lib
|
||||
#---------------------------------------------------------------------------------
|
||||
LIBDIRS := $(CURDIR)/../GRRLIB
|
||||
LIBDIRS := $(CURDIR)/../../GRRLIB
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# no real need to edit anything past this point unless you need to add additional
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
Minimum Code To Use GRRLIB
|
||||
============================================*/
|
||||
#include "../../GRRLIB/GRRLIB/GRRLIB.h"
|
||||
#include "../../../GRRLIB/GRRLIB/GRRLIB.h"
|
||||
|
||||
|
||||
#include <stdlib.h>
|