# FML interpreter. Europagate, 1995
#
-# $Id: Makefile,v 1.2 1995/02/09 14:33:36 adam Exp $
+# $Id: Makefile,v 1.14 1995/03/27 12:49:51 adam Exp $
SHELL=/bin/sh
-INCLUDE=-I../include
+INCLUDE=-I../include -I. $(REGEXINC)
TPROG1=fmltest
-CFLAGS=-g -Wall -pedantic
-DEFS=$(INCLUDE)
-LIB=fml.a
-PO = fmltoken.o fmlmem.o fml.o fmlsym.o fmlrel.o fmlarit.o fmllist.o
-CPP=cc -E
-CC=gcc
+#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
all: $(LIB) $(TPROG1) $(TPROG2)
$(TPROG1): $(TPROG1).o $(LIB)
- $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB)
+ $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a $(REGEXOBJ)
$(LIB): $(PO)
rm -f $(LIB)