Pass COPTIONS, not CFLAGS

This commit is contained in:
ceriel 1991-10-25 15:23:01 +00:00
parent 584584a5ba
commit 7213f2527b

View file

@ -13,6 +13,6 @@ back.$(LIBSUF): $(SRC_DIR)/mach.h
-mkdir back -mkdir back
cd back; cp $(BACK)/*h . ; cp $(BACK)/Makefile . ; cd .. cd back; cp $(BACK)/*h . ; cp $(BACK)/Makefile . ; cd ..
if [ -d $(SRC_DIR)/back.src ] ; then cd back; cp $(SRC_DIR)/back.src/* . ; cd .. ; fi if [ -d $(SRC_DIR)/back.src ] ; then cd back; cp $(SRC_DIR)/back.src/* . ; cd .. ; fi
cd back; make SRC_DIR=$(SRC_DIR) CC="$(CC)" CFLAGS="$(COPTIONS)" TARGET_HOME=$(TARGET_HOME) ; cd .. cd back; make SRC_DIR=$(SRC_DIR) CC="$(CC)" COPTIONS="$(COPTIONS)" TARGET_HOME=$(TARGET_HOME) ; cd ..
$(AR) r back.$(LIBSUF) back/*.$(SUF) $(AR) r back.$(LIBSUF) back/*.$(SUF)
$(RANLIB) back.$(LIBSUF) $(RANLIB) back.$(LIBSUF)