commit abdcbe845ac74daa6372bb31f0328dbbd7b89ab7
parent ee961fb4873891f009125fdde593a6c8e6ddd746
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Thu, 23 Jul 2015 18:03:58 -0400
this makefile fu was useless
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/lisc/.gitignore b/lisc/.gitignore
@@ -1,4 +1,3 @@
lisc
-lisc.old
.comfile
*.o
diff --git a/lisc/Makefile b/lisc/Makefile
@@ -4,11 +4,10 @@ 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) *.old
+ rm -f $(BIN) $(OBJ)