# @configure_input@  -*- makefile -*-
# $Id: Rules.mk.in,v 1.4 2004/07/08 23:21:11 alpha Exp $
#
# Copyright (c) 1999-2004 Darius Rad
#
# This file is part of the OpenOtto project.
#
# OpenOtto 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.
#


PACKAGE_NAME=@PACKAGE_NAME@
PACKAGE_TARNAME=@PACKAGE_TARNAME@
PACKAGE_VERSION=@PACKAGE_VERSION@

CC=@CC@
CFLAGS=@CFLAGS@
CPPFLAGS=@CPPFLAGS@ -Wall

LINT=@LINT@
LINTFLAGS=$(CPPFLAGS) +skip-sys-headers

LYX=@LYX@
TAR=@TAR@


%.o: %.c
	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<

%.txt: %.lyx
	$(LYX) -e text $<

%.pdf: %.lyx
	$(LYX) -e pdf $<

%.ps: %.lyx
	$(LYX) -e ps $<

