mirror of
https://github.com/mfocko/blog.git
synced 2024-11-24 05:51:55 +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
|