aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPavel Vymetálek <pavel@vym.cz>2019-02-18 14:42:14 +0100
committerPavel Vymetálek <pavel@vym.cz>2019-02-18 14:42:14 +0100
commitfb473ed61d28c2de73bcb729168ad9427fc4c631 (patch)
treec352beaa709d8038330189f3f2186e431ce302c9 /Makefile
parent6943723b68d75c9b30fa08dea6cd4474b0af6316 (diff)
downloadsercp-pc-fb473ed61d28c2de73bcb729168ad9427fc4c631.tar.gz
Priprava pro prijem s pridanou cestou (path)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ffe0501..9bcd37f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
PROJECT=sercp
-all:
+all: $(PROJECT)
+
+sercp: $(PROJECT).c
gcc $(PROJECT).c -o $(PROJECT) -Wall -pedantic -MP -MD -std=gnu11 -Werror=format-security -O2
-debug:
+
+debug: $(PROJECT).c
gcc $(PROJECT).c -o $(PROJECT) -Wall -pedantic -MP -MD -std=gnu11 -Werror=format-security -g -O0
clean: