diff options
author | dzwdz | 2023-02-25 18:31:16 +0100 |
---|---|---|
committer | dzwdz | 2023-02-25 18:31:16 +0100 |
commit | 1a1eb66fa0f4e6de6d06d80dae1bdce276fbd294 (patch) | |
tree | bd26d19ec1e7f212c6329969054a2f4196338867 /ports/doom | |
parent | fd9214efa47f721e6d08dd2530efbb40b99c3b7b (diff) |
ports: move to the new toolchain
Diffstat (limited to 'ports/doom')
-rw-r--r-- | ports/doom | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -15,14 +15,14 @@ fetch() { cat <<\EOF > doomgeneric_camellia.c #include <camellia/syscalls.h> -#include <shared/container/ring.h> +#include <shared/ring.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <user/lib/draw/draw.h> -#include <user/lib/thread.h> +#include <draw.h> +#include <thread.h> #include "doomgeneric.h" #include "doomkeys.h" @@ -144,7 +144,7 @@ prep() { } case $1 in - install) (prep; make "CC=cc" && cp doomgeneric $PREFIX/bin/doom && cp *.WAD $PREFIX/) ;; + install) (prep; make "CC=x86_64-camellia-gcc" && cp doomgeneric $PREFIX/bin/doom && cp *.WAD $PREFIX/) ;; clean) (prep; make clean) ;; deepclean) (rm -rf doomgeneric) ;; *) echo "usage: $0 install|clean"; false ;; |