diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-07-22 10:28:15 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:29 -0400 |
commit | ee961fb4873891f009125fdde593a6c8e6ddd746 (patch) | |
tree | f26680437e5708354f6ecfc422bc25b2c776d038 /lisc/Makefile | |
parent | eb1df2b81e18195bcf68dd56f4f339ceda7f5365 (diff) | |
download | roux-ee961fb4873891f009125fdde593a6c8e6ddd746.tar.gz |
always preserve last build
Diffstat (limited to 'lisc/Makefile')
-rw-r--r-- | lisc/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisc/Makefile b/lisc/Makefile index bab0059..6404dd5 100644 --- a/lisc/Makefile +++ b/lisc/Makefile @@ -4,10 +4,11 @@ OBJ = main.o parse.o ssa.o live.o isel.o spill.o CFLAGS = -Wall -Wextra -std=c11 -g -pedantic $(BIN): $(OBJ) + mv $@ $@.old 2>/dev/null || exit 0 $(CC) $(LDFLAGS) $(OBJ) -o $@ $(OBJ): lisc.h .PHONY: clean clean: - rm -f $(BIN) $(OBJ) + rm -f $(BIN) $(OBJ) *.old |