Skip to content

Commit

Permalink
simply 'all' and 'clean' in makefile
Browse files Browse the repository at this point in the history
combine 'all' and 'clean' in makefile.

Signed-off-by: Menglong Dong <[email protected]>
  • Loading branch information
menglongdong committed May 26, 2022
1 parent 762faf4 commit a67a244
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ PREFIX ?= ./output
PREFIX := $(abspath $(PREFIX))
export PREFIX

all: $(targets)
$(call targets-call, all)
all clean:: $(targets)
$(call targets-call)

clean: $(targets)
$(call targets-call, clean)
clean::
rm -rf output

install:
Expand Down

0 comments on commit a67a244

Please sign in to comment.