summaryrefslogtreecommitdiff
path: root/build/cc-gcc.mak
diff options
context:
space:
mode:
Diffstat (limited to 'build/cc-gcc.mak')
-rw-r--r--build/cc-gcc.mak22
1 files changed, 22 insertions, 0 deletions
diff --git a/build/cc-gcc.mak b/build/cc-gcc.mak
new file mode 100644
index 00000000..9a48519d
--- /dev/null
+++ b/build/cc-gcc.mak
@@ -0,0 +1,22 @@
+export CC = $(CROSS_COMPILE)gcc -c
+export AR = $(CROSS_COMPILE)ar r
+export LD = $(CROSS_COMPILE)gcc
+export LDOUT = -o
+export RANLIB = $(CROSS_COMPILE)ranlib
+
+export OBJEXT := .o
+export LIBEXT := .a
+export LIBEXT2 :=
+
+export CC_OUT := -o
+export CC_INC := -I
+export CC_DEF := -D
+export CC_OPTIMIZE := -O2
+export CC_LIB := -l
+
+export CC_SOURCES :=
+export CC_CFLAGS := -Wall
+#export CC_CFLAGS += -Wdeclaration-after-statement
+#export CC_CXXFLAGS := -Wdeclaration-after-statement
+export CC_LDFLAGS :=
+