18 lines
365 B
Makefile
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
|