Skip to content

Commit

Permalink
Revert "fix"
Browse files Browse the repository at this point in the history
This reverts commit d16ecb1.
  • Loading branch information
Akuli committed Feb 3, 2025
1 parent d16ecb1 commit 373303c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Makefile.posix
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jou_bootstrap: bootstrap.sh
jou: jou_bootstrap config.jou $(wildcard compiler/*.jou compiler/*/*.jou)
rm -rf compiler/jou_compiled && ./jou_bootstrap -o jou --linker-flags "$(shell $(LLVM_CONFIG) --ldflags --libs)" compiler/main.jou

# Does not delete tmp/bootstrap_cache because bootstrapping is slow.
# Does not delete jou_bootstrap executable because bootstrapping is slow.
# Bootstrap folder is deleted without -v (verbose) because it contains many files.
.PHONY: clean
clean:
bash -O extglob -c "rm -rvf tmp/!(bootstrap_cache)"
rm -vf *.exe config.jou jou jou_bootstrap
rm -rf tmp/bootstrap_cache && rm -rvf jou jou.exe tmp config.jou
find . -name jou_compiled -print -exec rm -rf '{}' +
8 changes: 4 additions & 4 deletions Makefile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jou_bootstrap.exe: bootstrap.sh
jou.exe: jou_bootstrap.exe config.jou $(wildcard compiler/*.jou compiler/*/*.jou)
rm -rf compiler/jou_compiled && ./jou_bootstrap.exe -o jou.exe --linker-flags "$(wildcard libs/lib*.a)" compiler/main.jou

# Does not delete tmp/bootstrap_cache because bootstrapping is slow.
# Does not delete jou_bootstrap executable because bootstrapping is slow.
# Bootstrap folder is deleted without -v (verbose) because it contains many files.
.PHONY: clean
clean:
bash -O extglob -c "rm -rvf tmp/!(bootstrap_cache)"
rm -vf *.exe config.jou
find . -name jou_compiled -print -exec rm -rf '{}' +
rm -rf tmp/bootstrap_cache && rm -rvf jou.exe tmp config.jou
find -name jou_compiled -print -exec rm -rf '{}' +

0 comments on commit 373303c

Please sign in to comment.