Skip to content

Commit ba368ab

Browse files
committed
RetroFW port
1 parent 7cb4e4d commit ba368ab

5 files changed

+19
-2
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
calc
2+
opkg/calc
3+
calc.opk
4+

Makefile

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
.PHONY: all clean pc
2-
all:
1+
.PHONY: retrofw miyoo clean pc
2+
retrofw:
3+
mipsel-linux-gcc main.c -o calc -ggdb -lSDL -lSDL_ttf -lm
4+
cp calc opkg/
5+
mksquashfs opkg calc.opk -noappend -no-xattrs
6+
miyoo:
37
arm-linux-gcc main.c -o calc -ggdb -lSDL -lSDL_ttf -lm
48
pc:
59
gcc main.c -o calc -lSDL -lSDL_ttf -lm
File renamed without changes.

opkg/calc.retrofw.desktop

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Desktop Entry]
2+
Name=Calculator
3+
Comment=Simple calculator
4+
Exec=calc
5+
Terminal=false
6+
Type=Application
7+
StartupNotify=true
8+
Icon=icon
9+
Categories=applications;
10+
Version=20200704

icon.png opkg/icon.png

File renamed without changes.

0 commit comments

Comments
 (0)