diff options
author | Christian C <cc@localhost> | 2025-03-05 22:40:24 -0800 |
---|---|---|
committer | Christian C <cc@localhost> | 2025-03-05 22:40:24 -0800 |
commit | 214f3c5d42beef871dfd1a78fb181235d0f05f1d (patch) | |
tree | 77e09a49510d1ee7af6436c809f9db0c8e17d37e | |
parent | 1de83eafadc5ee99c35f769b71fea14812569bce (diff) |
Make raylib optional
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | src/main.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,5 @@ -PKGS=libtiff-4 raylib libpng +PKGS=libtiff-4 libpng +#PKGS+=raylib EXE=prog BUILD_DIR=build/ OBJ_DIR=$(BUILD_DIR)obj/ @@ -1,7 +1,9 @@ #include <stdio.h> #include <stdlib.h> +#ifdef VISUAL #include <raylib.h> +#endif #include <lib/lib.h> #include <lib/png.h> |