Browse code

fix Plan 9 build (npe update required as well)

Sigrid Solveig Haflínudóttir authored on 07/01/2022 16:19:01
Showing 1 changed files
... ...
@@ -11,6 +11,7 @@ HFILES=\
11 11
 	src/devices/file.h\
12 12
 	src/devices/mouse.h\
13 13
 	src/devices/screen.h\
14
+	src/devices/system.h\
14 15
 	src/uxn.h\
15 16
 
16 17
 CLEANFILES=$TARG $ROM
... ...
@@ -31,19 +32,19 @@ bin:
31 32
 %.rom:Q: %.tal bin/uxnasm
32 33
 	bin/uxnasm $stem.tal $target >/dev/null
33 34
 
34
-bin/uxncli: file.$O uxncli.$O uxn.$O
35
+bin/uxncli: file.$O system.$O uxncli.$O uxn.$O
35 36
 	$LD $LDFLAGS -o $target $prereq
36 37
 
37 38
 bin/uxnasm: uxnasm.$O
38 39
 	$LD $LDFLAGS -o $target $prereq
39 40
 
40
-bin/uxnemu: uxnemu.$O audio.$O controller.$O file.$O mouse.$O screen.$O uxn.$O
41
+bin/uxnemu: audio.$O controller.$O file.$O mouse.$O screen.$O system.$O uxn.$O uxnemu.$O 
41 42
 	$LD $LDFLAGS -o $target $prereq
42 43
 
43 44
 (uxnasm|uxncli|uxnemu|uxn)\.$O:R: src/\1.c
44 45
 	$CC $CFLAGS -Isrc -o $target src/$stem1.c
45 46
 
46
-(audio|controller|file|mouse|screen)\.$O:R: src/devices/\1.c
47
+(audio|controller|file|mouse|screen|system)\.$O:R: src/devices/\1.c
47 48
 	$CC $CFLAGS -Isrc -o $target src/devices/$stem1.c
48 49
 
49 50
 nuke:V: clean