aboutsummaryrefslogtreecommitdiff
path: root/rules.mk
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-05-16 10:38:24 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-05-16 10:38:24 -0700
commit3f7474df0645224ce61fedcd908028f41971189e (patch)
tree0bd98f69f9ba09ec9c1cb19fe0c96bf89d8b6ee6 /rules.mk
parentfa25c8f3df6791727b9384c9b405c996ac68b8ab (diff)
fix: linking errors associated to linking bins against all dependencies. partitioned more explictly now
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