mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-27 16:23:02 +00:00
Merge branch 'main' of git.sr.ht:~rabbits/uxn
This commit is contained in:
commit
e0746c2be7
1 changed files with 4 additions and 2 deletions
6
mkfile
6
mkfile
|
@ -7,7 +7,9 @@ CFLAGS=$CFLAGS -D__plan9__ -I/sys/include/npe -I/sys/include/npe/SDL2
|
|||
HFILES=\
|
||||
/sys/include/npe/stdio.h\
|
||||
src/devices/audio.h\
|
||||
src/devices/controller.h\
|
||||
src/devices/file.h\
|
||||
src/devices/mouse.h\
|
||||
src/devices/screen.h\
|
||||
src/uxn.h\
|
||||
|
||||
|
@ -35,13 +37,13 @@ bin/uxncli: file.$O uxncli.$O uxn.$O
|
|||
bin/uxnasm: uxnasm.$O
|
||||
$LD $LDFLAGS -o $target $prereq
|
||||
|
||||
bin/uxnemu: uxnemu.$O audio.$O file.$O screen.$O uxn.$O
|
||||
bin/uxnemu: uxnemu.$O audio.$O controller.$O file.$O mouse.$O screen.$O uxn.$O
|
||||
$LD $LDFLAGS -o $target $prereq
|
||||
|
||||
(uxnasm|uxncli|uxnemu|uxn)\.$O:R: src/\1.c
|
||||
$CC $CFLAGS -Isrc -o $target src/$stem1.c
|
||||
|
||||
(audio|file|screen)\.$O:R: src/devices/\1.c
|
||||
(audio|controller|file|mouse|screen)\.$O:R: src/devices/\1.c
|
||||
$CC $CFLAGS -Isrc -o $target src/devices/$stem1.c
|
||||
|
||||
nuke:V: clean
|
||||
|
|
Loading…
Reference in a new issue