hl readme
This commit is contained in:
parent
bcbac301cc
commit
e3da1b9164
@ -11,13 +11,19 @@ Easy MAKE
|
||||
I make many example/test files, many require linking and trying to remember which libraries are dependencies or copying the right command from the source file gets old fast.
|
||||
|
||||
### Example
|
||||
```sh
|
||||
$ cat test/hw.c
|
||||
```
|
||||
```C
|
||||
// @COMPILECMD gcc $@ -o hw.out
|
||||
#include <stdio.h>
|
||||
|
||||
void main(){
|
||||
puts("Hello world");
|
||||
}
|
||||
```
|
||||
```sh
|
||||
$ ./emake test/hw.c
|
||||
$ ./hw.out
|
||||
Hello world
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user