diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-16 10:38:24 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-16 10:38:24 -0700 |
commit | 3f7474df0645224ce61fedcd908028f41971189e (patch) | |
tree | 0bd98f69f9ba09ec9c1cb19fe0c96bf89d8b6ee6 /rules.mk | |
parent | fa25c8f3df6791727b9384c9b405c996ac68b8ab (diff) |
fix: linking errors associated to linking bins against all dependencies. partitioned more explictly now
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |