projects
/
egate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Multiple-target searches handles cancel operation now.
[egate.git]
/
fml
/
Makefile
diff --git
a/fml/Makefile
b/fml/Makefile
index
aa499a5
..
08a4b6b
100644
(file)
--- a/
fml/Makefile
+++ b/
fml/Makefile
@@
-1,23
+1,21
@@
# FML interpreter. Europagate, 1995
#
# FML interpreter. Europagate, 1995
#
-# $Id: Makefile,v 1.4 1995/02/10 15:50:54 adam Exp $
+# $Id: Makefile,v 1.15 1995/04/17 09:32:08 adam Exp $
SHELL=/bin/sh
SHELL=/bin/sh
-INCLUDE=-I../egate/include -I.
+INCLUDE=-I../include -I. $(REGEXINC)
TPROG1=fmltest
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 \
PO = fmltoken.o fmlmem.o fml.o fmlsym.o fmlrel.o fmlarit.o fmllist.o \
-fmlcall.o fmlcalls.o fmlmarc.o
-
-CPP=cc -E
-CC=gcc
+fmlcall.o fmlcalls.o fmlmarc.o fmlstr.o
all: $(LIB) $(TPROG1) $(TPROG2)
$(TPROG1): $(TPROG1).o $(LIB)
all: $(LIB) $(TPROG1) $(TPROG2)
$(TPROG1): $(TPROG1).o $(LIB)
- $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../egate/lib/util.a
+ $(CC) $(CFLAGS) -o $(TPROG1) $(TPROG1).o $(LIB) ../lib/util.a $(REGEXOBJ)
$(LIB): $(PO)
rm -f $(LIB)
$(LIB): $(PO)
rm -f $(LIB)
@@
-33,14
+31,14
@@
clean:
depend: depend2
depend1:
depend: depend2
depend1:
- mv Makefile Makefile.tmp
- sed '/^#Depend/q' <Makefile.tmp >Makefile
- $(CPP) $(INCLUDE) -M *.c >>Makefile
- -rm Makefile.tmp
+ sed '/^#Depend/q' <Makefile >Makefile.tmp
+ $(CPP) $(DEFS) -M *.c >>Makefile.tmp
+ mv -f Makefile.tmp Makefile
depend2:
depend2:
- $(CPP) $(INCLUDE) -M *.c >.depend
+ $(CPP) $(DEFS) -M *.c >.depend
+#GNU make style depend
ifeq (.depend,$(wildcard .depend))
include .depend
endif
ifeq (.depend,$(wildcard .depend))
include .depend
endif