I want to create a fat library in mac. So I foll this. I copied the content of makefile into an edit text and renamed it to Makefile.mak. I opened the terminal in where the makefile is located and types "make" in the terminal and hit enter. I am getting an error that "Makefile is not found". What would be the reason for this? Where I made a mistake?
Please help me.
Thanks
How to run Makefile in mac
44.8k views Asked by Randi At
2
There are 2 answers
0
kurtfu
On
make looks for files with name GNUmakefile, makefile or Makefile. If you change your file's name to one of these, you can run it without a problem. If you still want to use that name, you must run the make with -f flag. Running command should be like this:
$make -f <file_name>
In your case:
$make -f Makefile.mak
Related Questions in MAKEFILE
- How to refer to the filepath of test data in test sourcecode?
- Can't connect to postgres with Adminer using Docker on MacOS
- Flint installation error: make: *** [build/generic_files/memory_manager.lo] Error 1
- How to compile the Linux kernel with -O0 for more detailed debug?
- Makefile:7: *** missing separator. Stop (HELP NEEDED)
- Trying to compile GCC returns a bunch of errors
- cmake and g++ cross compilation looking for library in host sysroot path instead of target sysroot
- Turn a makefile into a list of build commands
- make test error with Golang: make: *** [Makefile:47: manifests] Error 126
- Passing optional arguments from makefile to shell script
- GNU make file pairwise combinations of files in folder
- make Error 2, The system cannot find the file specified
- Why do I get a make: *** No target specified and no makefile error?
- why does Make give error while compiling?
- CMake always rebuilding included file even if it didn't change
Related Questions in XAMARIN.IOS
- Maui custom iOS picker renderer conversion
- My .net MAUI app works in debug mode, but "dotnet publish" doesn't work
- iOS 17.4.1 requestTrackingAuthorization returns Denied status always
- Xamarain support for IOS 17.4.1
- Xamarin iOS to MAUI .net8
- Could not create an native instance in Xamarin.IOS
- Xamrin forms iOS app no longer receiving FCM registration token after updating Xamarin.Firebase.iOS.CloudMessaging to 8.10.0.3 from 3.12
- Xamarin.iOS - Client.PairedDevices does not return the devices
- M24LR16E Drivers not being read with NFC on iOS
- How can I create a framewrok from a native iOS library?
- Implementing URL-encoded Form Data Submission in Xamarin.Forms WebView for iOS
- How to make monotouch.dialog work in .net maui
- Reading barcode in an ios application in .net8 without maui
- Using the community toolkit with xamarin iOS and Xamarin Android
- On Migrating Xamarin App to .NET MAUI App crashes on starting application again due to FFImageLoading.Compat
Related Questions in STATIC-LIBRARIES
- Keep multi-version of a static-lib like what we do for shared-libs
- Conan: How to get the exact version of a statically linked library contained in a pre-built package?
- Linking static SDL_image in visual studio
- DLL built from static lib is flashing a console
- Is it allowed in iOS - Swift Dynamic Framework - Contains Multiple Static Library
- Visual Studio Additional Include Directories
- How is a garbage collector included in the final product of a compiler?
- Linker error: error adding symbols: bad value with GNU ARM toolchain
- Need to decouple library and build a cohesive application
- Compiling fortran program with archive library results in undefined reference state
- esp-zigbee-lib source files access
- Alternative to static linking OpenSSL
- How to build CPython with static libbz2
- How do I debug a static library in Atmel Studio 7?
- Main function in a static library
Related Questions in FAT-BINARIES
- CMake + Xcode: how to select arm64 vs x86_64 libraries?
- Can I combine a "static" CUDA kernel launch with PTX code and get a working binary?
- How to understand the comments about fat_arch_64 in 'mach-o/fat.h'
- How to run Makefile in mac
- Trouble binding native Obj-C library to Xamarin.iOS Project
- Fat Framework Script for Xcode 10?
- Parsing universal/fat binary files
- How to bind 64-bit and 32-bit executable into one?
- Multiple ISA in same ELF file
- Error linking with CUDA code: multiple definitions of `__cudaRegisterLinkedBinary_
- CUDA: How to use -arch and -code and SM vs COMPUTE
- "Shared" bytecode in different architecture slices?
- Error when trying to link fat binary with 64-bit simulator target
- Does there exist a universal or "fat" class file for Java?
- what are the parameters for __cudaRegisterFatBinary and __cudaRegisterFunction functions?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Your makefile is incorrectly named. You need to rename your Makefile.mak back to 'makefile'; that's what the make command is looking for.