enabled compiler optimizations + sped up search a little bit
This commit is contained in:
1 parent
d89956a2fb
commit
a23918ab8d
3 files changed
+9
-11
No files matched your search
@@ -17,11 +17,11 @@ OBJS := $(addprefix $(OBJ_DIR)/, $(notdir $(SRCS:.cpp=.o)))
|
||||
|
||||
# Target executable
|
||||
Eleanor$(EXE_EXT): $(OBJS)
|
||||
g++ -o $@ $^
|
||||
g++ -o $@ $^ -O3
|
||||
|
||||
# Rule to compile source files to object files
|
||||
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp $(SRC_DIR)/types.h | $(OBJ_DIR)
|
||||
g++ -c -o $@ $<
|
||||
g++ -c -o $@ $< -O3
|
||||
|
||||
# Create the object directory if it doesn't exist
|
||||
$(OBJ_DIR):
|
||||
|
||||
Reference in new issue
Block a user