...
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
CFLAGS = -g
|
||||
NUBC = ../src/compiler/NubLang.CLI/bin/Debug/net9.0/nubc
|
||||
|
||||
bin/out: src/main.nub
|
||||
dotnet build ../src/compiler/NubLang.CLI/NubLang.CLI.csproj -c Release
|
||||
../src/compiler/NubLang.CLI/bin/Release/net9.0/nubc src/main.nub
|
||||
out: $(NUBC) main.nub
|
||||
$(NUBC) main.nub
|
||||
|
||||
run: bin/out
|
||||
bin/out
|
||||
$(NUBC):
|
||||
dotnet build ../src/compiler/NubLang.CLI/NubLang.CLI.csproj
|
||||
|
||||
run: out
|
||||
out
|
||||
|
||||
clean:
|
||||
rm -r bin-int bin
|
||||
@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
|
||||
|
||||
Reference in New Issue
Block a user