From 3f7474df0645224ce61fedcd908028f41971189e Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sat, 16 May 2020 10:38:24 -0700 Subject: fix: linking errors associated to linking bins against all dependencies. partitioned more explictly now --- rules.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'rules.mk') 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 -- cgit v1.2.1