PERFORCE change 180092 for review
Garrett Cooper
gcooper at FreeBSD.org
Tue Jun 22 06:47:38 UTC 2010
On Mon, Jun 21, 2010 at 11:35 PM, Sergio Ligregni <ligregni at freebsd.org> wrote:
> http://p4web.freebsd.org/@@180092?ac=10
>
> Change 180092 by ligregni at ligPhenom on 2010/06/22 06:34:49
>
> A makefile with more options
>
> Affected files ...
>
> .. //depot/projects/soc2010/disaudit/Makefile#2 edit
>
> Differences ...
>
> ==== //depot/projects/soc2010/disaudit/Makefile#2 (text+ko) ====
>
> @@ -1,3 +1,13 @@
> +all: shipd.c ssocket_work.c damasterd.c msocket_work.c
> + make shipd
> + make damasterd
> +
> +damasterd: damasterd.c msocket_work.c
> + cc -lmd -o damasterd damasterd.c msocket_work.c
> +
> shipd: shipd.c ssocket_work.c
> cc -lmd -o shipd shipd.c ssocket_work.c
>
> +debug: shipd.c ssocket_work.c
> + cc -g -lmd -o shipd shipd.c ssocket_work.c
> + cc -g -lmd -o damasterd damasterd.c msocket_work.c
Hi Sergio,
Please read make(1) and style.make(9). It will help in terms of
developing proper FreeBSD style Makefiles.
Thanks,
-Garrett
More information about the p4-projects
mailing list