aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules.mk')
-rw-r--r--rules.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.mk b/rules.mk
index 7e4a911..eea0dcb 100644
--- a/rules.mk
+++ b/rules.mk
@@ -7,7 +7,7 @@ all: targets
debug: CFLAGS += -DDEBUG
debug: targets
-release: CFLAGS += -O3 -flto #-DNDEBUG
+release: CFLAGS += -O3 -flto -ffast-math #-DNDEBUG
release: targets
# Targets & array of sources & intermediates
@@ -17,7 +17,7 @@ DEPS :=
LIBS :=
BINS :=
-TSTS :=
+UNTS :=
# Iterate through directory tree
DIR := sys
@@ -39,14 +39,14 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.s
$(OBJ_DIR)/%: $(SRC_DIR)/%.c
$(COMPLNK)
-targets: $(LIBS) $(BINS) $(TSTS)
+targets: $(LIBS) $(BINS) $(UNTS)
clean:
rm -f $(OBJS)
rm -f $(DEPS)
rm -f $(LIBS)
rm -f $(BINS)
- rm -f $(TSTS)
+ rm -f $(UNTS)
install: targets
@echo installing executables