Skip to content

Commit 41c498b

Browse files
authored
Merge pull request #16 from git-user-cpp/development
Using make to build the project
2 parents 67eb927 + 5027c0e commit 41c498b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
spynix:
2+
@clang -W -o spynix src/main.c src/cpu/cpu_info.c src/hlp/hlp_info.c src/net/net_info.c src/ram/ram_info.c src/rom/rom_info.c src/sys/sys_info.c -ansi -pedantic
3+
4+
clear:
5+
@rm spynix

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ rapid unix system & hardware info scraper
5050
4) Compile and run the program with *clang*.
5151
- Compilation example
5252
```
53-
clang -W -o spynix src/main.c src/cpu/cpu_info.c src/hlp/hlp_info.c src/net/net_info.c src/ram/ram_info.c src/rom/rom_info.c src/sys/sys_info.c -ansi -pedantic
53+
make spynix
5454
```
5555
5) Launch the app to see all available options.
5656
```

0 commit comments

Comments
 (0)