mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-26 23:31:53 +02:00
sch2fig/: add copyright headers; use "local" Makefile.c-common
This commit is contained in:
parent
81f51e909a
commit
addb15ce94
@ -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
|
||||
|
||||
|
@ -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 <stdio.h>
|
||||
|
||||
#include "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
|
||||
|
||||
|
@ -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 <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.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
|
||||
|
||||
|
@ -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 <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -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 <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user