commit 3ec2ca552af17c8ebaa16219d05462cbfc421c38
parent 235b5368a2c5ad4d58fb02dc9efa0a8d59fb3830
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sun, 19 Jul 2015 19:51:04 +0200
Include config.mk in all the Makefiles
And CC and CFLAGS values are discomment to (FRIGN, I want you be me friend :P)
Diffstat:
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,4 +1,4 @@
-# scc - Sucless C Compiler
+# scc - Suckless C Compiler
include config.mk
diff --git a/cc1/Makefile b/cc1/Makefile
@@ -1,3 +1,5 @@
+include ../config.mk
+
OBJS = types.o decl.o lex.o error.o symbol.o main.o expr.o \
code.o stmt.o cpp.o
diff --git a/cc2/Makefile b/cc2/Makefile
@@ -1,3 +1,4 @@
+include ../config.mk
OBJS = main.o parser.o cgen.o code.o optm.o peep.o
diff --git a/config.mk b/config.mk
@@ -7,9 +7,9 @@ MANPREFIX = ${PREFIX}/share/man
VERSION = 0.1
# Flags
-#CFLAGS = -std=c99
+CFLAGS = -std=c99
#LDFLAGS =
# Tools
-#CC = cc
+CC = cc
#AR =