build_all script for examples and fixed warnings in examples about unused functions.
This commit is contained in:
parent
b6fce2a7f9
commit
f056377977
4 changed files with 17 additions and 0 deletions
11
examples/build_all.sh
Executable file
11
examples/build_all.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for dir in */; do
|
||||||
|
name="${dir%/}"
|
||||||
|
file="$dir/$name.c65"
|
||||||
|
if [ -f "$file" ]; then
|
||||||
|
echo "=== Building $name ==="
|
||||||
|
c65gm "$file"
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
@ -4,6 +4,8 @@
|
||||||
// without causing an infinite loop.
|
// without causing an infinite loop.
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
#PRAGMA _P_REMOVE_UNUSED 1
|
||||||
|
|
||||||
#INCLUDE <c64start.c65>
|
#INCLUDE <c64start.c65>
|
||||||
#INCLUDE <c64defs.c65>
|
#INCLUDE <c64defs.c65>
|
||||||
#INCLUDE <cbmiolib.c65>
|
#INCLUDE <cbmiolib.c65>
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@
|
||||||
// Tests malloc and free functionality
|
// Tests malloc and free functionality
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
#PRAGMA _P_REMOVE_UNUSED 1
|
||||||
|
|
||||||
#INCLUDE <c64start.c65>
|
#INCLUDE <c64start.c65>
|
||||||
#INCLUDE <c64defs.c65>
|
#INCLUDE <c64defs.c65>
|
||||||
#INCLUDE <memlib.c65>
|
#INCLUDE <memlib.c65>
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,8 @@
|
||||||
// with implicit breaks and long jump pragma support
|
// with implicit breaks and long jump pragma support
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
|
#PRAGMA _P_REMOVE_UNUSED 1
|
||||||
|
|
||||||
#INCLUDE <c64start.c65>
|
#INCLUDE <c64start.c65>
|
||||||
#INCLUDE <c64defs.c65>
|
#INCLUDE <c64defs.c65>
|
||||||
#INCLUDE <cbmiolib.c65>
|
#INCLUDE <cbmiolib.c65>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue