Files
RedBear-OS/recipes/libs/libffi/source/testsuite/libffi.bhaible/Makefile
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

29 lines
800 B
Makefile

CC = gcc
CFLAGS = -O2 -Wall
prefix =
includedir = $(prefix)/include
libdir = $(prefix)/lib
CPPFLAGS = -I$(includedir)
LDFLAGS = -L$(libdir) -Wl,-rpath,$(libdir)
all: check-call check-callback
test-call: test-call.c testcases.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o test-call test-call.c -lffi
test-callback: test-callback.c testcases.c
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o test-callback test-callback.c -lffi
check-call: test-call
./test-call > test-call.out
LC_ALL=C uniq -u < test-call.out > failed-call
test '!' -s failed-call
check-callback: test-callback
./test-callback > test-callback.out
LC_ALL=C uniq -u < test-callback.out > failed-callback
test '!' -s failed-callback
clean:
rm -f test-call test-callback test-call.out test-callback.out failed-call failed-callback