Skip to content

Commit bdce460

Browse files
committed
Forgotten commit
1 parent d099f43 commit bdce460

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

tests/Makefile

Lines changed: 7 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
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
2222

2323
test_fill_polygon: test_fill_polygon.c save_image.c $(SRCS)
2424
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
@@ -65,7 +65,10 @@ test_fontx: test_fontx.c ../src/fontx.c
6565
test_char: test_char.c save_image.c ../src/hagl_char.c ../src/fontx.c $(SRCS)
6666
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
6767

68-
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
68+
test_fps: test_fps.c
69+
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
70+
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
6972
./test_fill_polygon
7073
./test_polygon
7174
./test_fill_rectangle
@@ -81,9 +84,10 @@ test: test_fill_polygon test_polygon test_fill_rectangle test_rectangle test_pix
8184
./test_blit
8285
./test_fontx
8386
./test_char
87+
./test_fps
8488

8589
clean:
86-
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
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
8791
rm -rf output
8892

8993
.PHONY: all test clean

0 commit comments

Comments
 (0)