/helloworld-c

Minimalist Makefile setup for the Unix classic and see if c99 works as expected for coomon case usage.

Primary LanguageCGNU General Public License v3.0GPL-3.0

Hello World
===========

This is a minimalist setup for compiling the Unix
classic using a Makefile. I use it to see if the
machine has C setup as I expect.

```
make -f Makefile.simple
./helloworld
./hellofriend
make -f Makefile.simple clean
```

macOS
-----

The default c99 is broken on the macOS versions
I run.  To solve this I use a shell script named
`c99` in my home bin directory with the following
content.

```
#/bin/bash
gcc --std=c99 $*
```

The c99 script needs to be executable and gcc installed.