first commit

This commit is contained in:
cyy_mac
2026-06-16 08:44:45 +08:00
commit c9d2b90a0b
37 changed files with 2396 additions and 0 deletions

20
test/Makefile Normal file
View File

@@ -0,0 +1,20 @@
CC = arm-linux-gcc
CFLAGS = -Wall -O2 -I ..
COMMON = ../common/device.c ../common/tools.c
.PHONY: all clean
all: test_swipe_static test_image_static test_album_static
test_swipe_static: test_swipe.c ../button/button.c $(COMMON)
$(CC) $(CFLAGS) -static -o $@ test_swipe.c ../button/button.c $(COMMON)
test_image_static: test_image.c ../album/album.c $(COMMON)
$(CC) $(CFLAGS) -static -o $@ test_image.c ../album/album.c $(COMMON)
test_album_static: test_album.c ../desktop/desktop.c ../album/album.c ../button/button.c $(COMMON)
$(CC) $(CFLAGS) -static -o $@ test_album.c ../desktop/desktop.c ../album/album.c ../button/button.c $(COMMON)
clean:
rm -f *_static