Browse Source

Improved Makefile with explicit gcc declaration.

Marco Bambini 7 năm trước cách đây
mục cha
commit
b9f36f6a8a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -6,6 +6,7 @@ OPT_DIR = src/optionals/
 UNITTEST_SRC = src/cli/unittest.c
 UNITTEST_SRC = src/cli/unittest.c
 GRAVITY_SRC = src/cli/gravity.c
 GRAVITY_SRC = src/cli/gravity.c
 
 
+CC = gcc
 SRC = $(wildcard $(COMPILER_DIR)*.c) \
 SRC = $(wildcard $(COMPILER_DIR)*.c) \
       $(wildcard $(RUNTIME_DIR)/*.c) \
       $(wildcard $(RUNTIME_DIR)/*.c) \
       $(wildcard $(SHARED_DIR)/*.c) \
       $(wildcard $(SHARED_DIR)/*.c) \