mirror of
https://github.com/mfocko/blog.git
synced 2024-11-26 22:53:46 +01:00
13 lines
216 B
Makefile
13 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
|