Skip to content

Commit

Permalink
Stop unnecessarily recompiling everything
Browse files Browse the repository at this point in the history
  • Loading branch information
akkartik committed Apr 30, 2017
1 parent 1d48ce4 commit 4e5e2e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions makefile
Expand Up @@ -8,10 +8,10 @@ PKGS_DIR=\"$(shell pwd)/packages/\"
# Add a preprocessor definition for the packages directory
CXXFLAGS:=${CXXFLAGS} -DPKGS_DIR="${PKGS_DIR}"

all: zetavm cplush plush-pkg
all: zeta cplush plush-pkg

test: zetavm cplush plush-pkg
# Core zetavm teats
test: zeta cplush plush-pkg
# Core zetavm tests
./$(ZETA_BIN) --test
./$(ZETA_BIN) tests/zetavm/ex_loop_cnt.zim
# cplush tests
Expand Down Expand Up @@ -52,7 +52,7 @@ clean:
rm -rf *.o *.dSYM $(ZETA_BIN) $(CPLUSH_BIN) config.status config.log

# Tells make which targets are not files
.PHONY: all test clean zetavm cplush plush-pkg
.PHONY: all test clean plush-pkg

##############################################################################
# ZetaVM
Expand All @@ -67,7 +67,7 @@ vm/interp.cpp \
vm/core.cpp \
vm/main.cpp \

zetavm: vm/*.cpp vm/*.h
zeta: vm/*.cpp vm/*.h
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(ZETA_BIN) $(ZETA_SRCS)

##############################################################################
Expand Down
10 changes: 5 additions & 5 deletions makefile.in
Expand Up @@ -8,10 +8,10 @@ PKGS_DIR=\"$(shell pwd)/packages/\"
# Add a preprocessor definition for the packages directory
CXXFLAGS:=${CXXFLAGS} -DPKGS_DIR="${PKGS_DIR}"

all: zetavm cplush plush-pkg
all: zeta cplush plush-pkg

test: zetavm cplush plush-pkg
# Core zetavm teats
test: zeta cplush plush-pkg
# Core zetavm tests
./$(ZETA_BIN) --test
./$(ZETA_BIN) tests/zetavm/ex_loop_cnt.zim
# cplush tests
Expand Down Expand Up @@ -52,7 +52,7 @@ clean:
rm -rf *.o *.dSYM $(ZETA_BIN) $(CPLUSH_BIN) config.status config.log

# Tells make which targets are not files
.PHONY: all test clean zetavm cplush plush-pkg
.PHONY: all test clean plush-pkg

##############################################################################
# ZetaVM
Expand All @@ -67,7 +67,7 @@ vm/interp.cpp \
vm/core.cpp \
vm/main.cpp \

zetavm: vm/*.cpp vm/*.h
zeta: vm/*.cpp vm/*.h
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(ZETA_BIN) $(ZETA_SRCS)

##############################################################################
Expand Down

0 comments on commit 4e5e2e9

Please sign in to comment.