File: compilartodo

package info (click to toggle)
pixfrogger 1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,396 kB
  • sloc: pascal: 35; sh: 18; makefile: 16
file content (23 lines) | stat: -rwxr-xr-x 433 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

# Creamos los FPGs
cd fpg-sources
echo Creando FPG pixfrogger.fpg
linea="fenix0.92-fpg -n ../fpg/pixfrogger.fpg "
for i in *.png; 
do
 linea=$linea`echo $i | sed -e "s/.png//"`:`echo $i`" "; 
done
$linea > /dev/null
cd ..
# FPGs creados

# Compilamos el programa
echo Compiling...
cd src
fenix0.92-fxc pixfrogger.prg
mv pixfrogger.dcb ../
cd ..

# Y colocamos el ejecutable donde toca
cp /usr/bin/fenix0.92-fxi pixfrogger