diff --git a/sch2fig/Makefile b/sch2fig/Makefile index 8d32c98..ca27a4f 100644 --- a/sch2fig/Makefile +++ b/sch2fig/Makefile @@ -1,9 +1,21 @@ +# +# Makefile - build sch2fig +# +# Written 2016 by Werner Almesberger +# Copyright 2016 by Werner Almesberger +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# + NAME = sch2fig OBJS = main.o sch.o lib.o fig.o CFLAGS = -g -Wall -Wextra -Wno-unused-parameter -include ../../anelok/common/Makefile.c-common +include ../common/Makefile.c-common .PHONY: test diff --git a/sch2fig/fig.c b/sch2fig/fig.c index 89500ba..d0b22f8 100644 --- a/sch2fig/fig.c +++ b/sch2fig/fig.c @@ -1,3 +1,16 @@ +/* + * fig.c - Generate FIG output for Eeschema items + * + * Written 2016 by Werner Almesberger + * Copyright 2016 by Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #include #include "fig.h" diff --git a/sch2fig/fig.h b/sch2fig/fig.h index c1985e2..66f28e2 100644 --- a/sch2fig/fig.h +++ b/sch2fig/fig.h @@ -1,3 +1,16 @@ +/* + * fig.h - Generate FIG output for Eeschema items + * + * Written 2016 by Werner Almesberger + * Copyright 2016 by Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #ifndef FIG_H #define FIG_H diff --git a/sch2fig/lib.c b/sch2fig/lib.c index 672bec4..12dc193 100644 --- a/sch2fig/lib.c +++ b/sch2fig/lib.c @@ -1,3 +1,16 @@ +/* + * lib.c - Parse Eeschema .lib file + * + * Written 2016 by Werner Almesberger + * Copyright 2016 by Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #include #include #include diff --git a/sch2fig/lib.h b/sch2fig/lib.h index 5ebc23c..7d1b853 100644 --- a/sch2fig/lib.h +++ b/sch2fig/lib.h @@ -1,3 +1,16 @@ +/* + * lib.h - Parse Eeschema .lib file + * + * Written 2016 by Werner Almesberger + * Copyright 2016 by Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #ifndef LIB_H #define LIB_H diff --git a/sch2fig/main.c b/sch2fig/main.c index 2561555..87dfeba 100644 --- a/sch2fig/main.c +++ b/sch2fig/main.c @@ -1,3 +1,16 @@ +/* + * main.c - Convert Eeschema schematics to FIG + * + * Written 2016 by Werner Almesberger + * Copyright 2016 by Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #include #include #include diff --git a/sch2fig/sch.c b/sch2fig/sch.c index 342e67d..45ce7b3 100644 --- a/sch2fig/sch.c +++ b/sch2fig/sch.c @@ -1,3 +1,16 @@ +/* + * sch.c - Parse Eeschema .sch file + * + * Written 2016 by Werner Almesberger + * Copyright 2016 by Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #include #include #include diff --git a/sch2fig/sch.h b/sch2fig/sch.h index 395a587..47b45db 100644 --- a/sch2fig/sch.h +++ b/sch2fig/sch.h @@ -1,3 +1,16 @@ +/* + * sch.h - Parse Eeschema .sch file + * + * Written 2016 by Werner Almesberger + * Copyright 2016 by Werner Almesberger + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + + #ifndef SCH_H #define SCH_H