Skip to content

Commit 3380fd1

Browse files
committed
Add test_aps everywhere
1 parent cf7919d commit 3380fd1

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

tests/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SRCS = \
1818
../src/hagl_blit.c \
1919
../src/rgb565.c
2020

21-
all: test_fill_polygon test_polygon test_fill_rectangle test_rectangle test_pixel test_line test_hline test_vline test_circle test_ellipse test_fill_ellipse test_clip test_blit test_fontx test_char test_fps
21+
all: test_fill_polygon test_polygon test_fill_rectangle test_rectangle test_pixel test_line test_hline test_vline test_circle test_ellipse test_fill_ellipse test_clip test_blit test_fontx test_char test_fps test_aps
2222

2323
test_fill_polygon: test_fill_polygon.c save_image.c $(SRCS)
2424
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
@@ -68,7 +68,10 @@ test_char: test_char.c save_image.c ../src/hagl_char.c ../src/fontx.c $(SRCS)
6868
test_fps: test_fps.c
6969
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
7070

71-
test: test_fill_polygon test_polygon test_fill_rectangle test_rectangle test_pixel test_line test_hline test_vline test_circle test_ellipse test_fill_ellipse test_clip test_blit test_fontx test_char test_fps
71+
test_aps: test_aps.c
72+
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
73+
74+
test: test_fill_polygon test_polygon test_fill_rectangle test_rectangle test_pixel test_line test_hline test_vline test_circle test_ellipse test_fill_ellipse test_clip test_blit test_fontx test_char test_fps test_aps
7275
./test_fill_polygon
7376
./test_polygon
7477
./test_fill_rectangle
@@ -87,7 +90,7 @@ test: test_fill_polygon test_polygon test_fill_rectangle test_rectangle test_pix
8790
./test_fps
8891

8992
clean:
90-
rm -f test_fill_polygon test_polygon test_fill_rectangle test_rectangle test_pixel test_line test_hline test_vline test_circle test_ellipse test_fill_ellipse test_clip test_blit test_fontx test_char test_fps
93+
rm -f test_fill_polygon test_polygon test_fill_rectangle test_rectangle test_pixel test_line test_hline test_vline test_circle test_ellipse test_fill_ellipse test_clip test_blit test_fontx test_char test_fps test_aps
9194
rm -rf output
9295

9396
.PHONY: all test clean

0 commit comments

Comments
 (0)