Skip to content

Commit

Permalink
unix/Makefile: replace references to make with $(MAKE)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
melak authored and dpgeorge committed Jun 8, 2017
1 parent 1dd18c5 commit d80c951
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions unix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -278,15 +278,15 @@ libffi:
cd ../lib/libffi; ./autogen.sh
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"; \
make install-exec-recursive; make -C include install-data-am
$(MAKE) install-exec-recursive; $(MAKE) -C include install-data-am

axtls: $(BUILD)/libaxtls.a

$(BUILD)/libaxtls.a: ../lib/axtls/README | $(OBJ_DIRS)
cd ../lib/axtls; cp config/upyconfig config/.config
cd ../lib/axtls; make oldconfig -B
cd ../lib/axtls; make clean
cd ../lib/axtls; make all CC="$(CC)" LD="$(LD)"
cd ../lib/axtls; $(MAKE) oldconfig -B
cd ../lib/axtls; $(MAKE) clean
cd ../lib/axtls; $(MAKE) all CC="$(CC)" LD="$(LD)"
cp ../lib/axtls/_stage/libaxtls.a $@

../lib/axtls/README:
Expand Down

0 comments on commit d80c951

Please sign in to comment.