diff --git a/README.md b/README.md index d9bcc04..56a21e3 100644 --- a/README.md +++ b/README.md @@ -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 void main(){ puts("Hello world"); } +``` +```sh $ ./emake test/hw.c $ ./hw.out Hello world +```