...
|
...
|
@@ -63,7 +63,7 @@ socklib.o: ext/socklib.c ext/socklib.h
|
63
|
63
|
$(CC) $(CFLAGS) -Iext -c -o socklib.o ext/socklib.c
|
64
|
64
|
|
65
|
65
|
re: recenteditor.o re_data.o re_plugin_unsaved.o re_plugin_highlighter.o re_plugin_prototypes.o prototypes_c89_posix.o prototypes_tcl.o sha3.o re_ui.o hack_regular.o iosevka_fixed_regular.o socklib.o
|
66
|
|
- $(CC) $(LDFLAGS) -o re recenteditor.o re_data.o re_plugin_unsaved.o re_plugin_highlighter.o re_plugin_prototypes.o prototypes_c89_posix.o prototypes_tcl.o sha3.o re_ui.o hack_regular.o iosevka_fixed_regular.o socklib.o
|
|
66
|
+ $(CC) -o re recenteditor.o re_data.o re_plugin_unsaved.o re_plugin_highlighter.o re_plugin_prototypes.o prototypes_c89_posix.o prototypes_tcl.o sha3.o re_ui.o hack_regular.o iosevka_fixed_regular.o socklib.o $(LDFLAGS)
|
67
|
67
|
|
68
|
68
|
tests: re_tests.o re_data.o sha3.o
|
69
|
69
|
$(CC) $(LDFLAGS) -o tests re_tests.o re_data.o sha3.o
|
...
|
...
|
@@ -71,5 +71,11 @@ tests: re_tests.o re_data.o sha3.o
|
71
|
71
|
tests_utf8: re_tests_utf8.o re_data.o sha3.o
|
72
|
72
|
$(CC) $(LDFLAGS) -o tests_utf8 re_tests_utf8.o re_data.o sha3.o
|
73
|
73
|
|
|
74
|
+re32: recenteditor.c re_data.c re_plugin_unsaved.c re_plugin_highlighter.c re_plugin_prototypes.c prototypes_c89_posix.c prototypes_tcl.c sha3/sha3.c re_ui.c hack_regular.c iosevka_fixed_regular.c ../webkernel/src/socklib.c
|
|
75
|
+ sh -c ". /shared/Devel/toolchains/zig/env.sh ; zig cc -target x86-linux-musl -I/shared/Devel/toolchains/alpine/alpine-i386/usr/include/ -I/shared/Devel/toolchains/alpine/alpine-i386/usr/include/SDL2/ -L/shared/Devel/toolchains/alpine/alpine-i386/usr/lib recenteditor.c re_data.c re_plugin_unsaved.c re_plugin_highlighter.c re_plugin_prototypes.c prototypes_c89_posix.c prototypes_tcl.c -Isha3 sha3/sha3.c re_ui.c hack_regular.c iosevka_fixed_regular.c -I../webkernel/src/ ../webkernel/src/socklib.c -lSDL2 -lSDL2_ttf -o re32"
|
|
76
|
+
|
|
77
|
+re64: recenteditor.c re_data.c re_plugin_unsaved.c re_plugin_highlighter.c re_plugin_prototypes.c prototypes_c89_posix.c prototypes_tcl.c sha3/sha3.c re_ui.c hack_regular.c iosevka_fixed_regular.c ../webkernel/src/socklib.c
|
|
78
|
+ sh -c ". /shared/Devel/toolchains/zig/env.sh ; zig cc -target x86_64-linux-gnu -I/usr/include/ -I/usr/include/SDL2/ -L/usr/lib/x86_64-linux-gnu/ recenteditor.c re_data.c re_plugin_unsaved.c re_plugin_highlighter.c re_plugin_prototypes.c prototypes_c89_posix.c prototypes_tcl.c -Isha3 sha3/sha3.c re_ui.c hack_regular.c iosevka_fixed_regular.c -I../webkernel/src/ ../webkernel/src/socklib.c -lSDL2 -lSDL2_ttf -lfreetype -lpng -lz -lsndio -lasound -lpulse -lwayland-client -lxkbcommon -lwayland-cursor -lwayland-egl -lXrandr -lXxf86vm -lXss -lXi -lXinerama -lXext -lX11 -lX11-xcb -lxcb -lXcursor -lXau -lXdmcp -lXrender -lXfixes -o re64"
|
|
79
|
+
|
74
|
80
|
clean:
|
75
|
81
|
rm -f recenteditor.o re_data.o re_tests.o re_plugin_unsaved.o re_plugin_highlighter.o sha3.o re_ui.o hack_regular.c hack_regular.h hack_regular.o iosevka_fixed_regular.c iosevka_fixed_regular.h iosevka_fixed_regular.o prototypes_c89_posix.o prototypes_tcl.o re tests
|