0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-23 22:35:11 +00:00

Merge branch 'main' of git.sr.ht:~rabbits/uxn

This commit is contained in:
neauoire 2021-12-29 09:11:20 -08:00
commit e0746c2be7

6
mkfile
View file

@ -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