Do not cache the result of the vasprintf test (see configure.in for explanation)...
[fw/sdcc] / src / mcs51 / Makefile
index 0b6875143cd144b2bb067683ed1055715d793825..d2783a6411658f8c2ddf02fb489b9e29abb782bd 100644 (file)
@@ -5,7 +5,6 @@ include $(PRJDIR)/Makefile.common
 OBJ = gen.o ralloc.o main.o
 LIB = port.a
 
-CFLAGS = -ggdb -Wall
 CFLAGS += -I.. -I. -I../..
 
 all: $(LIB)
@@ -15,7 +14,7 @@ main.o: main.c peeph.rul
 $(LIB): peeph.rul $(OBJ)
        rm -f $(LIB)
        ar r $(LIB) $(OBJ)
-       ranlib $(LIB)
+       $(RANLIB) $(LIB)
 
 peeph.rul: peeph.def
        $(AWK) -f ../SDCCpeeph.awk peeph.def > peeph.rul