hl readme

This commit is contained in:
anon 2023-09-13 14:52:27 +02:00
parent bcbac301cc
commit e3da1b9164

View File

@ -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
```