mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-30 17:53:01 +00:00
Merge branch 'main' of git.sr.ht:~rabbits/uxn
This commit is contained in:
commit
8fdb039926
12 changed files with 16 additions and 13 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -13,3 +13,5 @@
|
||||||
*theme
|
*theme
|
||||||
|
|
||||||
*.rom
|
*.rom
|
||||||
|
|
||||||
|
*.[o0125678vqki]
|
||||||
|
|
7
mkfile
7
mkfile
|
@ -8,6 +8,7 @@ HFILES=\
|
||||||
/sys/include/npe/stdio.h\
|
/sys/include/npe/stdio.h\
|
||||||
src/devices/audio.h\
|
src/devices/audio.h\
|
||||||
src/devices/controller.h\
|
src/devices/controller.h\
|
||||||
|
src/devices/datetime.h\
|
||||||
src/devices/file.h\
|
src/devices/file.h\
|
||||||
src/devices/mouse.h\
|
src/devices/mouse.h\
|
||||||
src/devices/screen.h\
|
src/devices/screen.h\
|
||||||
|
@ -32,19 +33,19 @@ bin:
|
||||||
%.rom:Q: %.tal bin/uxnasm
|
%.rom:Q: %.tal bin/uxnasm
|
||||||
bin/uxnasm $stem.tal $target >/dev/null
|
bin/uxnasm $stem.tal $target >/dev/null
|
||||||
|
|
||||||
bin/uxncli: file.$O system.$O uxncli.$O uxn.$O
|
bin/uxncli: file.$O datetime.$O system.$O uxncli.$O uxn.$O
|
||||||
$LD $LDFLAGS -o $target $prereq
|
$LD $LDFLAGS -o $target $prereq
|
||||||
|
|
||||||
bin/uxnasm: uxnasm.$O
|
bin/uxnasm: uxnasm.$O
|
||||||
$LD $LDFLAGS -o $target $prereq
|
$LD $LDFLAGS -o $target $prereq
|
||||||
|
|
||||||
bin/uxnemu: audio.$O controller.$O file.$O mouse.$O screen.$O system.$O uxn.$O uxnemu.$O
|
bin/uxnemu: audio.$O controller.$O datetime.$O file.$O mouse.$O screen.$O system.$O uxn.$O uxnemu.$O
|
||||||
$LD $LDFLAGS -o $target $prereq
|
$LD $LDFLAGS -o $target $prereq
|
||||||
|
|
||||||
(uxnasm|uxncli|uxnemu|uxn)\.$O:R: src/\1.c
|
(uxnasm|uxncli|uxnemu|uxn)\.$O:R: src/\1.c
|
||||||
$CC $CFLAGS -Isrc -o $target src/$stem1.c
|
$CC $CFLAGS -Isrc -o $target src/$stem1.c
|
||||||
|
|
||||||
(audio|controller|file|mouse|screen|system)\.$O:R: src/devices/\1.c
|
(audio|controller|datetime|file|mouse|screen|system)\.$O:R: src/devices/\1.c
|
||||||
$CC $CFLAGS -Isrc -o $target src/devices/$stem1.c
|
$CC $CFLAGS -Isrc -o $target src/devices/$stem1.c
|
||||||
|
|
||||||
nuke:V: clean
|
nuke:V: clean
|
||||||
|
|
Loading…
Reference in a new issue