# # Makefile - makefile for include files # # Copyright (C) 1995-2003 Gero Kuhlmann # # 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 # 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, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # $Id: Makefile,v 1.5 2003/01/25 23:29:40 gkminix Exp $ # # # Include user configuration: # include ../make.config # # Include system dependent definitions: # include ../make.defs # # Target rules. # all: romversion.h romversion.h: romversion.h.in sed "s/%VER_MAJOR%/$(VER_MAJOR)/;s/%VER_MINOR%/$(VER_MINOR)/;s/%NBVERSION%/$(NBVERSION)/;s/%COPYRIGHT%/$(COPYRIGHT)/" romversion.h.in >romversion.h # # Maintenance rules # .PHONY: dep install clean distclean realclean dep: romversion.h install: clean: rm -f romversion.h distclean realclean: clean