Skip to content

Commit

Permalink
Makefile: force phony targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarneges committed Jan 4, 2024
1 parent b6635f0 commit b54be55
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 b54be55

Please sign in to comment.