unix/Makefile: replace references to make with $(MAKE)
make is not always GNU make; the latter may go by different names. This helps builds on systems where the default make is not GNU make.
This commit is contained in:
parent
1dd18c5260
commit
d80c951f71
@ -278,15 +278,15 @@ libffi:
|
|||||||
cd ../lib/libffi; ./autogen.sh
|
cd ../lib/libffi; ./autogen.sh
|
||||||
mkdir -p ../lib/libffi/build_dir; cd ../lib/libffi/build_dir; \
|
mkdir -p ../lib/libffi/build_dir; cd ../lib/libffi/build_dir; \
|
||||||
../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out --disable-structs CC="$(CC)" CXX="$(CXX)" LD="$(LD)" CFLAGS="-Os -fomit-frame-pointer -fstrict-aliasing -ffast-math -fno-exceptions"; \
|
../configure $(CROSS_COMPILE_HOST) --prefix=$$PWD/out --disable-structs CC="$(CC)" CXX="$(CXX)" LD="$(LD)" CFLAGS="-Os -fomit-frame-pointer -fstrict-aliasing -ffast-math -fno-exceptions"; \
|
||||||
make install-exec-recursive; make -C include install-data-am
|
$(MAKE) install-exec-recursive; $(MAKE) -C include install-data-am
|
||||||
|
|
||||||
axtls: $(BUILD)/libaxtls.a
|
axtls: $(BUILD)/libaxtls.a
|
||||||
|
|
||||||
$(BUILD)/libaxtls.a: ../lib/axtls/README | $(OBJ_DIRS)
|
$(BUILD)/libaxtls.a: ../lib/axtls/README | $(OBJ_DIRS)
|
||||||
cd ../lib/axtls; cp config/upyconfig config/.config
|
cd ../lib/axtls; cp config/upyconfig config/.config
|
||||||
cd ../lib/axtls; make oldconfig -B
|
cd ../lib/axtls; $(MAKE) oldconfig -B
|
||||||
cd ../lib/axtls; make clean
|
cd ../lib/axtls; $(MAKE) clean
|
||||||
cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)"
|
cd ../lib/axtls; $(MAKE) all CC="$(CC)" LD="$(LD)"
|
||||||
cp ../lib/axtls/_stage/libaxtls.a $@
|
cp ../lib/axtls/_stage/libaxtls.a $@
|
||||||
|
|
||||||
../lib/axtls/README:
|
../lib/axtls/README:
|
||||||
|
Loading…
Reference in New Issue
Block a user