This repository has been archived on 2025-10-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nub-lang-archive/example/makefile
nub31 8e36aa4d95 ...
2025-08-18 16:56:20 +02:00

18 lines
365 B
Makefile

NUBC = ../src/compiler/NubLang.CLI/bin/Debug/net9.0/nubc
out: $(NUBC) main.nub
$(NUBC) main.nub
$(NUBC):
dotnet build ../src/compiler/NubLang.CLI/NubLang.CLI.csproj
run: out
out
clean:
@rm out 2>/dev/null || true
@rm out.a 2>/dev/null || true
@find . -name "*.o" -type f -delete
@find . -name "*.s" -type f -delete
@find . -name "*.ssa" -type f -delete