Skip to content

Commit

Permalink
Simplify makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
terminal-cs committed Jun 14, 2023
1 parent 8f60c65 commit ba6b2e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Docs/articles/Installation/DevKit.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The `install-VS2022.bat` accepts the following parameters :
- `-VSEXPHIVE` or `/VSEXPHIVE` Use Visual Studio Experimental Hive for installation.

### Installation on Linux
Run `make all` to build Cosmos. Run `sudo make install`. Make sure to run `make nuget-install` under your user account, and not as sudo.
Run `make` to build Cosmos. Cosmos will clone all the required repos, build itself, and install it and it's nuget packages to the system automatically.

### dotnet Project Templates
If you are using linux or prefer not using Visual Studio for your projects, you can install the dotnet project template using `dotnet new --install .\source\templates\csharp\` assuming you are currently in the Cosmos base directory.
Expand Down
2 changes: 1 addition & 1 deletion Docs/articles/Kernel/Network.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ using(var xClient = new DnsClient())
## Get local IP address
```csharp
Console.WriteLine(NetworkConfiguration.CurrentAddress.ToString());
```
```
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ DOTNETFLAGS = -v:q -nologo
all: $(IL2CPU_DIR) $(XSHARP_DIR) $(COMMON_DIR)
$(MAKE) build
$(MAKE) publish
@sudo $(MAKE) install
$(MAKE) nuget-install
@echo "Cosmos has been installed successfully!"

$(IL2CPU_DIR):
@echo "Cloning Cosmos/IL2CPU"
Expand Down

0 comments on commit ba6b2e9

Please sign in to comment.