add test script

This commit is contained in:
Adam Procházka
2023-02-20 22:51:18 +01:00
parent 664880e384
commit c8aeab392d
2 changed files with 137 additions and 0 deletions

16
Test/Makefile Normal file
View File

@ -0,0 +1,16 @@
CC = gcc
CFLAGS = -Wall -Wextra
SRCS = uart_jpeg.c
OBJS = $(SRCS:.c=.o)
all: uart_jpeg
uart_jpeg: $(OBJS)
$(CC) $(CFLAGS) -o $@ $^
%.o: %.c
$(CC) $(CFLAGS) -c $<
clean:
rm -f $(OBJS) uart_jpeg