aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 9bcd37f0b838a8b6723cd54a45b18e54db15dbaa (plain)
1
2
3
4
5
6
7
8
9
10
11
PROJECT=sercp
all:	$(PROJECT)

sercp:	$(PROJECT).c
	gcc $(PROJECT).c -o $(PROJECT) -Wall -pedantic -MP -MD -std=gnu11 -Werror=format-security -O2

debug:	$(PROJECT).c
	gcc $(PROJECT).c -o $(PROJECT) -Wall -pedantic -MP -MD -std=gnu11 -Werror=format-security -g -O0

clean:
	rm -f $(PROJECT) $(PROJECT).d $(PROJECT).o