# FML interpreter. Europagate, 1995
#
-# $Id: Makefile,v 1.6 1995/02/10 18:15:51 adam Exp $
+# $Id: Makefile,v 1.13 1995/03/01 14:31:23 adam Exp $
SHELL=/bin/sh
-INCLUDE=-I../include -I.
+INCLUDE=-I../include -I. $(REGEXINC)
TPROG1=fmltest
-CFLAGS=-g -Wall -pedantic
-DEFS=$(INCLUDE)
-LIB=fml.a
+CFLAGS=-g -Wall -pedantic
+CPP=$(CC) -E
+DEFS=$(INCLUDE) -DUSE_GNU_REGEX=1
+LIB=../lib/fml.a
PO = fmltoken.o fmlmem.o fml.o fmlsym.o fmlrel.o fmlarit.o fmllist.o \
fmlcall.o fmlcalls.o fmlmarc.o fmlstr.o
-CPP=cc -E
-CC=gcc
-
all: $(LIB) $(TPROG1) $(TPROG2)
$(TPROG1): $(TPROG1).o $(LIB)
- $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a
+ $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a $(REGEXOBJ)
$(LIB): $(PO)
rm -f $(LIB)