Skip to content

Commit

Permalink
Merge pull request #47854 from fastly/jkarneges/makefile-force
Browse files Browse the repository at this point in the history
Makefile: force phony targets
  • Loading branch information
jkarneges authored Jan 4, 2024
2 parents f959644 + b54be55 commit 916ff90
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ endif

all: postbuild

build:
build: FORCE
cargo build $(cargo_flags)

cargo-test:
cargo-test: FORCE
cargo test $(cargo_flags)

cargo-clean:
cargo-clean: FORCE
cargo clean

postbuild: build FORCE
cd postbuild && $(MAKE) -f Makefile

postbuild-install:
postbuild-install: FORCE
cd postbuild && $(MAKE) -f Makefile install

postbuild-clean:
postbuild-clean: FORCE
cd postbuild && $(MAKE) -f Makefile clean

postbuild-distclean:
postbuild-distclean: FORCE
cd postbuild && $(MAKE) -f Makefile distclean

check: cargo-test
Expand Down

0 comments on commit 916ff90

Please sign in to comment.