blog/files/c/bonuses/03/makefile
github-actions[bot] 34fc48031b deploy: 2fb4765b1f
2023-11-24 15:55:55 +00:00

12 lines
216 B
Makefile

CC=gcc
CFLAGS=-std=c99 -Wall -Wextra -Werror -Wpedantic
main:
$(CC) $(CFLAGS) main.c -o main
main_light:
$(CC) $(CFLAGS) main_light.c -o main_light
check: main main_light
valgrind ./main
valgrind ./main_light