Browse Source

Improved makefile

Marco Bambini 5 years ago
parent
commit
6c5d5fdf00
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Makefile

+ 4 - 4
Makefile

@@ -7,10 +7,10 @@ GRAVITY_SRC = src/cli/gravity.c
 
 
 CC ?= gcc
 CC ?= gcc
 SRC = $(wildcard $(COMPILER_DIR)*.c) \
 SRC = $(wildcard $(COMPILER_DIR)*.c) \
-      $(wildcard $(RUNTIME_DIR)/*.c) \
-      $(wildcard $(SHARED_DIR)/*.c) \
-      $(wildcard $(UTILS_DIR)/*.c) \
-      $(wildcard $(OPT_DIR)/*.c)
+      $(wildcard $(RUNTIME_DIR)*.c) \
+      $(wildcard $(SHARED_DIR)*.c) \
+      $(wildcard $(UTILS_DIR)*.c) \
+      $(wildcard $(OPT_DIR)*.c)
 
 
 INCLUDE = -I$(COMPILER_DIR) -I$(RUNTIME_DIR) -I$(SHARED_DIR) -I$(UTILS_DIR) -I$(OPT_DIR)
 INCLUDE = -I$(COMPILER_DIR) -I$(RUNTIME_DIR) -I$(SHARED_DIR) -I$(UTILS_DIR) -I$(OPT_DIR)
 CFLAGS = $(INCLUDE) -std=gnu99 -fgnu89-inline -fPIC -DBUILD_GRAVITY_API
 CFLAGS = $(INCLUDE) -std=gnu99 -fgnu89-inline -fPIC -DBUILD_GRAVITY_API