Restructure the various READMEs; split out changes into a separate changelog so as...
[a56.git] / Makefile
index fc5b25dc718ae51f7b88900eca1b5828e6b3dd39..b2294b32bde5ca003bc8733496adb464cc0c9de5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,36 @@
 #
 #######################################################
 
+# Copyright (C) 2012 Thorsten Alteholz <debian@alteholz.de>
+#
+# This file 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 3 of the License,
+# or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see
+# <http://www.gnu.org/licenses/>.
+#
+# This file incorporates work covered by the following copyright and
+# permission notice:
+#
+# Copyright (C) 1990-1998 Quinn C. Jensen
+#
+# Permission to use, copy, modify, distribute, and sell this
+# software and its documentation for any purpose is hereby granted
+# without fee, provided that the above copyright notice appear in all
+# copies and that both that copyright notice and this permission
+# notice appear in supporting documentation.  The author makes no
+# representations about the suitability of this software for any
+# purpose. It is provided "as is" without express or implied
+# warranty.
+
 # environment definitions
 # uncomment the ones you like
 
@@ -62,7 +92,7 @@ OBJS = main.o gram.o lex.o toktab.o subs.o getopt.o kparse.o
 DEFINES = $(CCDEFS)
 #DEFINES = -DYYDEBUG -DLDEBUG $(CCDEFS)
 
-CFLAGS = $(DEBUG) $(DEFINES)
+CFLAGS = $(DEBUG) $(DEFINES) $(CPPFLAGS) $(LDFLAGS)
 
 all:   keybld a56 toomf
 
@@ -84,7 +114,7 @@ ksubs.o:     subs.c
 lex.o: lex.c gram.h
 
 kparse.c:      a56.key keybld
-       keybld < a56.key > kparse.c
+       ./keybld < a56.key > kparse.c
 
 gram.c gram.h: a56.y
        @echo "[expect 2 shift/reduce conflicts here]"