diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-05-13 17:30:19 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-05-13 17:30:19 -0700 |
commit | d982e7c2fdebf560ccce193cb98b85d4fac28a45 (patch) | |
tree | b18902eea12a2d55a24994ca0681ca1a369631aa /rules.mk | |
parent | c9d4b2d7dd1d9a46571e5d2b2cf6ce10a9d9ebea (diff) |
blas 1 generation code complete
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -8,7 +8,7 @@ all: targets debug: CFLAGS += -DDEBUG debug: targets -release: CFLAGS += -DNDEBUG -O3 +release: CFLAGS += -O3 -flto #-DNDEBUG release: targets # Targets & array of sources & intermediates @@ -25,19 +25,24 @@ include $(DIR)/rules.mk # Generic rules %.a: %.o - $(ARCHIVE) + @echo AR $@ $^ + @$(ARCHIVE) $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c - $(COMPILE) + @echo CC $^ + @$(COMPILE) $(OBJ_DIR)/%.o: $(SRC_DIR)/%.s - $(ASSEMBLE) + @echo AS $^ + @$(ASSEMBLE) %: %.o - $(LINK) + @echo CC $^ + @$(LINK) $(OBJ_DIR)/%: $(SRC_DIR)/%.c - $(COMPLNK) + @echo CC $^ + @$(COMPLNK) .PHONY: targets targets: $(LIBS) $(BINS) |