Browse Source

modified: Makefile

fixes

gravity_json.c:(.text+0x1eeb): undefined reference to `pow'
Scott Stensland 8 years ago
parent
commit
0e918ce079
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -13,7 +13,7 @@ SRC = $(wildcard $(COMPILER_DIR)*.c) \
 INCLUDE = -I$(COMPILER_DIR) -I$(RUNTIME_DIR) -I$(SHARED_DIR) -I$(UTILS_DIR) 
 CFLAGS = $(INCLUDE) -O2
 OBJ = $(SRC:.c=.o)
-LDFLAGS = 
+LDFLAGS = -lm
 
 all: unittest gravity