Skip to content

Commit

Permalink
RetroFW port
Browse files Browse the repository at this point in the history
  • Loading branch information
szymor committed Jul 4, 2020
1 parent 7cb4e4d commit ba368ab
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
calc
opkg/calc
calc.opk

8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.PHONY: all clean pc
all:
.PHONY: retrofw miyoo clean pc
retrofw:
mipsel-linux-gcc main.c -o calc -ggdb -lSDL -lSDL_ttf -lm
cp calc opkg/
mksquashfs opkg calc.opk -noappend -no-xattrs
miyoo:
arm-linux-gcc main.c -o calc -ggdb -lSDL -lSDL_ttf -lm
pc:
gcc main.c -o calc -lSDL -lSDL_ttf -lm
Expand Down
File renamed without changes.
10 changes: 10 additions & 0 deletions opkg/calc.retrofw.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Name=Calculator
Comment=Simple calculator
Exec=calc
Terminal=false
Type=Application
StartupNotify=true
Icon=icon
Categories=applications;
Version=20200704
File renamed without changes

0 comments on commit ba368ab

Please sign in to comment.