From d2f81d63caa6b84354080c4f4513629b30a2327f Mon Sep 17 00:00:00 2001
From: luca0N! <63941044+luca0N@users.noreply.github.com>
Date: Wed, 20 May 2020 14:33:09 -0300
Subject: [PATCH] Added variables
---
Makefile | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 0eda51f..3511b76 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,4 @@
+#
# limpador do luca0N! 3
# Copyright (C) 2020 luca0N!
#
@@ -15,12 +16,16 @@
# along with this program. If not, see .
#
# Contact me by e-mail via
+#
+
+C=gcc
+CFLAG=-s -Os
ldl3: main.o about.h str.h colors.h
- gcc main.o about.h str.h colors.h -s -Os -o ldl3
+ $(C) main.o about.h str.h colors.h -o ldl3 $(CFLAG)
main.o: main.c
- gcc -c -s -Os main.c
+ $(C) -c main.c $(CFLAG)
clean:
rm *.o *.exe