Add Makefile with strict options

This commit is contained in:
olemorud
2023-03-20 11:32:51 +01:00
parent 9295a9445c
commit 7fbe0d2047
2 changed files with 25 additions and 4 deletions

14
Makefile Normal file
View File

@@ -0,0 +1,14 @@
CC = gcc
CFLAGS = -O3 -g -Wall -Wextra -Werror -std=gnu99 -pedantic
all: bin/exec_tracker
clean: bin
rm -f 'bin/exec_tracker'
bin/exec_tracker: exec_tracker.c bin
$(CC) -o $@ $(CFLAGS) $<
bin:
mkdir bin