From ab19e17b4f5bef1d52c4ee82a8c443f0cf8d1489 Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 23 Apr 2024 02:36:42 +0000 Subject: [PATCH] better header git-svn-id: file:///raid/svn-main/nishi-serenade/trunk@7 0f02c867-ac3d-714e-8a88-971ba1f6efcf --- HEADER | 2 +- Serenade/Makefile | 2 +- Serenade/main.c | 2 +- Serenade/serenade.h | 26 ++++++++++++++++++++++++++ Tool/Makefile | 2 +- Tool/configgen.c | 2 +- 6 files changed, 31 insertions(+), 5 deletions(-) diff --git a/HEADER b/HEADER index 9d91f81..d099212 100644 --- a/HEADER +++ b/HEADER @@ -1 +1 @@ -Lisp Dialect +Serenade is a Lisp Dialect diff --git a/Serenade/Makefile b/Serenade/Makefile index e303649..345995b 100644 --- a/Serenade/Makefile +++ b/Serenade/Makefile @@ -10,7 +10,7 @@ all: ./serenade$(SUFFIX) ./serenade$(SUFFIX): $(SERENADE_OBJS) $(CC) $(LDFLAGS) -o $@ $(SERENADE_OBJS) $(LIBS) -.c.o: +.c.o: ../config.h $(CC) $(CFLAGS) -c -o $@ $< clean: diff --git a/Serenade/main.c b/Serenade/main.c index 1f9d39a..8f96d61 100644 --- a/Serenade/main.c +++ b/Serenade/main.c @@ -1,7 +1,7 @@ /* $Id$ */ /* --- START LICENSE --- */ /* -------------------------------------------------------------------------- */ -/* Lisp Dialect */ +/* Serenade is a Lisp Dialect */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ diff --git a/Serenade/serenade.h b/Serenade/serenade.h index 056972e..2dba2e8 100644 --- a/Serenade/serenade.h +++ b/Serenade/serenade.h @@ -1,5 +1,31 @@ /* $Id$ */ /* --- START LICENSE --- */ +/* -------------------------------------------------------------------------- */ +/* Serenade is a Lisp Dialect */ +/* -------------------------------------------------------------------------- */ +/* Copyright (c) 2024 Nishi. */ +/* Redistribution and use in source and binary forms, with or without modific */ +/* ation, are permitted provided that the following conditions are met: */ +/* 1. Redistributions of source code must retain the above copyright noti */ +/* ce, this list of conditions and the following disclaimer. */ +/* 2. Redistributions in binary form must reproduce the above copyright n */ +/* otice, this list of conditions and the following disclaimer in the documen */ +/* tation and/or other materials provided with the distribution. */ +/* 3. Neither the name of the copyright holder nor the names of its contr */ +/* ibutors may be used to endorse or promote products derived from this softw */ +/* are without specific prior written permission. */ +/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS */ +/* " AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, TH */ +/* E IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPO */ +/* SE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS */ +/* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CON */ +/* SEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITU */ +/* TE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPT */ +/* ION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, S */ +/* TRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN AN */ +/* Y WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY */ +/* OF SUCH DAMAGE. */ +/* -------------------------------------------------------------------------- */ /* --- END LICENSE --- */ #ifndef __SERENADE_SERENADE_H__ diff --git a/Tool/Makefile b/Tool/Makefile index 39e4ec6..197d32f 100644 --- a/Tool/Makefile +++ b/Tool/Makefile @@ -10,7 +10,7 @@ all: ./configgen ./configgen: $(CONFIGGEN_OBJS) cc -o $@ $(CONFIGGEN_OBJS) -.c.o: ../config.h +.c.o: cc -c -o $@ $< clean: diff --git a/Tool/configgen.c b/Tool/configgen.c index 4c67be6..0d84d51 100644 --- a/Tool/configgen.c +++ b/Tool/configgen.c @@ -1,7 +1,7 @@ /* $Id$ */ /* --- START LICENSE --- */ /* -------------------------------------------------------------------------- */ -/* Lisp Dialect */ +/* Serenade is a Lisp Dialect */ /* -------------------------------------------------------------------------- */ /* Copyright (c) 2024 Nishi. */ /* Redistribution and use in source and binary forms, with or without modific */ -- 2.43.0