From c24e9c8679d43ad5960864b1e7c746b2dcf53562 Mon Sep 17 00:00:00 2001 From: gonzo Date: Sun, 3 Nov 2024 21:40:57 +0100 Subject: moved pkg-config flags to library definition in sld --- makefile | 7 ++++--- raylib.sld | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index c471fae..74c90d8 100644 --- a/makefile +++ b/makefile @@ -1,6 +1,7 @@ all: loadable loadable: - gsc -:s -debug -dynamic \ - -pkg-config gl -pkg-config raylib \ - raylib.sld + gsc -:s -debug -dynamic raylib.sld + +clean: + rm raylib.o* diff --git a/raylib.sld b/raylib.sld index 4b9ab17..44e78db 100644 --- a/raylib.sld +++ b/raylib.sld @@ -3,6 +3,7 @@ (export with-drawing begin-drawing end-drawing) (export in-scissor-mode begin-scissor-mode end-scissor-mode) (import (gambit)) + (pkg-config "gl" "raylib") ;;; ------- ;;; structs -- cgit v1.2.3