summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Parser/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Parser/Makefile.in b/Parser/Makefile.in
index 4c1e1fa..899ad92 100644
--- a/Parser/Makefile.in
+++ b/Parser/Makefile.in
@@ -17,7 +17,7 @@ DEFS= @DEFS@
# === Other things that are customizable but not by configure ===
INCLDIR= $(srcdir)/../Include
-OPT= -O
+OPT= @OPT@
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
MKDEP= mkdep
@@ -46,6 +46,7 @@ LIB= libParser.a
all: $(LIB) $(PGEN)
$(LIB): $(PARSEROBJS)
+ -rm -f $(LIB)
$(AR) cr $(LIB) $(PARSEROBJS)
$(RANLIB) $(LIB)