From: William D. <wdo...@us...> - 2005-02-15 19:35:50
|
Update of /cvsroot/flexml/flexml/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29695/examples Modified Files: Makefile Log Message: Extract common defs to ../Makefile.defs Index: Makefile =================================================================== RCS file: /cvsroot/flexml/flexml/examples/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Makefile 5 Jan 2005 18:51:35 -0000 1.2 +++ Makefile 15 Feb 2005 19:35:25 -0000 1.3 @@ -22,6 +22,8 @@ # FILES. +include ../Makefile.defs + SAMPS = my.dtd my-show.act my-joke.xml my-joke2.xml my-joke3.xml \ tricky.dtd tricky.act tricky.xml \ test.html @@ -29,34 +31,10 @@ SRC = $(SAMPS) ALL = $(SAMPS) -# SETUP. - -# Installation paths -USR = /usr -BINDIR = $(USR)/bin -LIBDIR = $(USR)/lib -SHARE = /usr/share -MAN1DIR = $(SHARE)/man/man1 -DOCDIR = $(SHARE)/doc -DATADIR = $(SHARE)/flexml -TMPDIR = /var/tmp - -# Permanent program locations -PERL = /usr/bin/perl -FLEX = /usr/bin/flex -FLEXML = $(BINDIR)/flexml -ACT = $(LIBDIR)/flexml-act -SKEL = $(DATADIR)/skel - -# Build compilation setup. -CC = gcc -Wall -ansi -pedantic -CFLAGS = -O2 -g -#FLEXDEBUG = -d +.PHONY: all install dist test clean # PRIMARY TARGETS. -.PHONY: all install dist test clean - start: test all: $(ALL) |