mirror of
https://github.com/mfocko/blog.git
synced 2024-12-23 12:51:30 +01:00
12 lines
216 B
Makefile
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
|