makefile help Programming Software Development by wsn … I'm trying to make a makefile but after i enter the command make makefile it says nothing to be made in… the makefile, can someone please help me?… depends on md.h md.h depends on Rd.h # Makefile CC = gcc LD = $(CC) DEPEND = mkdep CFLAGS = -O2 -Wall… Re: makefile help Programming Software Development by jephthah why are you trying to make your makefile? the command should just be "make"... should it not? Re: makefile help Programming Software Development by wsn … know i was running the command wrong but still my makefile isn't working i tried to simplify it more but… Makefile Programming Software Development by konata_89 i dont understand how to do makefile .? can u give me some exmaple how to makefile for this code.and where to add… makefile Programming Software Development by ruval002 i need help with my makefile. This is my first time dealing with one.I have ,… status make: *** [mylink] Error 1 [/CODE] and this is my makefile [CODE… Re: Makefile Programming Software Development by stilllearning A tutorial that may help [URL="http://mrbook.org/tutorials/make/"]here[/URL] I would suggest downloading the Makefile copy and then making your changes to the existing Makefile. That is always the easiest way to make sure you do not mess up on the tabs ! Re: Makefile Programming Software Development by launic i've created my makefile... it's possible that the argument can be K or q (ex: g++ K blah blah or g++ q blah blah) How do I put that in my makefile so that it could be either one? Re: makefile Programming Software Development by L7Sqr In a makefile, the [icode]=[/icode] is destructive assignment. You may be looking for somethign more along the lines of: [code]OBJ = main.o ll.o[/code] or[code]OBJ = main.o OBJ += ll.o[/code] This is also apparent in the output of make where your compile line has only the [icode]ll.*[/icode] file names listed. Makefile Programming Software Development by squinx22 somebody help me in makefiles pls...... how to create a menu launcher for Unix automatically using only the makefile.. thanx in advance Re: Makefile Programming Software Development by Salem So have you made any progress by reading the manual? [url]http://www.gnu.org/software/make/make.html[/url] Your description is unclear. From what you're asking, I would think a shell script would be more appropriate than a makefile. Makefile Programming Software Development by launic Can someone please explain how to create a makefile? I'm somewhat confused by what I've read on the web thanks Makefile problem Programming Software Development by guest7 …the directory structure and main makefile for reference. Directory structure …h ./hello1_prog_dir/Makefile ./hello2_prog_dir/hello2.cpp ./hello2_prog_dir/hello2.h ./hello_2_prog_dir/Makefile Makefile ----------------------------------------------------------------------------------- ###Main makefile: CC =… Re: Makefile for C++ one file programs Programming Software Development by Duoas …++[/inlinecode] Behold, the Make Anything Makefile: [code] #----------------------------------------------------------------------------- # Make Anything Makefile #----------------------------------------------------------------------------- # For use with GNU …When MIXING C and C++ modules, this makefile will compile the C modules # with … Makefile for C++ one file programs Programming Software Development by benasour … was working in C I made a generic one-file Makefile so I did have to write out all the tags… wanted to compile a program. Can someone look at my Makefile and tell me what I need to update for it… to work in C++? The old Makefile for C programs: # Generic makefile for simple (one-file) C programs CC=gcc… Re: Makefile for C++ one file programs Programming Software Development by kako13 … was working in C I made a generic one-file Makefile so I did have to write out all the tags… wanted to compile a program. Can someone look at my Makefile and tell me what I need to update for it… to work in C++? The old Makefile for C programs: # Generic makefile for simple (one-file) C programs CC=gcc… Re: Makefile for C++ one file programs Programming Software Development by benasour …? I used to just modify my Makefile with ALL/all/$(ALL) and tell the makefile which files to include then use make… in testGrid.cpp. I have all these files plus the Makefile in one folder and try the command make testGrid.cpp…; *** missing separator. Stop." How do you compile with this Makefile? Makefile include problem Programming Software Development by DJWK …work. I'm propably missing something here... The Makefile and .cpp with main function are located at …project together and made a single Makefile for them. Here's my try on the… Makefile: objects = delta.o hash.o buffer.…gone through a bunch of googles for "Makefile examples", but still can't figure out … Makefile:124: *** unterminated call to function `foreach': missing `)'. Hardware and Software Linux and Unix by hemanshurpatel …: *** unterminated call to function `foreach': missing `)'. Stop. The Makefile around line 124 is .PHONY: popiso popiso: isolinux_cfg $(foreach x,$(… using RHEL6 - 64bit machine I'm not that deep into Makefile/Gmake, and so I'm not sure what's the… Re: Makefile on unix to ? on windows Programming Software Development by Agni …'t think you will be able to use the same makefile across UNIX and Windows. What you can do is have… 2 makefiles with different extensions like makefile.XP and makefile.Sun and have another sort of a base… makefile included in all the makefiles that decides at compile time … makefile shared library file dependencies Programming Software Development by willydlw my makefile: [code] DRIVER_SRC = PumaDriver.cpp PumaBody.cpp PumaMotor.cpp base_manipulation.…lib/libPumaMotorDriver.so clean: rm -f *.o *.so [/code] This makefile is not properly creating the .so file. How do I… write a makefile that works with all my dependencies. The dependencies: The … MakeFile explanation help! Programming Software Development by yongj So one of my assignments is to code a MAKEFILE program. Though we discussed this over in class I'm … one of the examples we went over: [CODE] ----------------------------------------------------------------------------- # # DELDIR makefile # Old-style MAKEFILE format. Microsoft MAKE V1.x # Similar to CSC3350 Lab… Re: MakeFile explanation help! Programming Software Development by griswolf …], then ask for what you want (declarative languages). The makefile syntax/format is also odd (though if I recall correctly… are lots of [URL="http://lmgtfy.com/?q=makefile+tutorial"]good tutorials[/URL]. Go read one or two… A make "script" is usually called "makefile" since they really aren't acripts as such. Re: MakeFile explanation help! Programming Software Development by griswolf … file in the current working directory named either "makefile" or "Makefile" (on systems where case counts in filenames… other names. So, for a vanilla situation, to use a makefile named S_MAKE, I would invoke from the command line like… Makefile determines different distributions Programming Software Development by iamthesgt … that installs the cgi scripts to a (Linux) OS. The makefile works fine, but it needs to be able to install… have any idea how to determine the distribution in a makefile? Thanks Re: Makefile determines different distributions Programming Software Development by iamthesgt … writing an external shell script an invoking it within the makefile. This is the shell script: [CODE] #osfinder_app # This is a… value to be passed back to a variable within the Makefile. # The paths that follow are for executable files. # Paths for…)[/CODE] It now properly returns the proper path for the makefile's use. Thanks for everyone's help. Re: Makefile for C++ one file programs Programming Software Development by Ancient Dragon OMG am I happy that I use Microsoft Visual Studio. All that makefile stuff makes my head swim. :) Re: Makefile for C++ one file programs Programming Software Development by Duoas Me too. ;) (I wrote this for students who couldn't write a ten-line makefile. This one is actually pretty straight-forward, but it uses a couple of GNU-specific tricks. You should see the reams of unreadable garbage that comes out of automated programs like [B]automake[/B] and the like.) Re: MakeFile explanation help! Programming Software Development by yongj … mentioned that I could potentially change the name of the makefile command through a command line option and was curious on… do that. So for example, instead of typing in "makefile target.exe" I would want "S_MAKE target.exe… Re: MakeFile Backup Target Programming Software Development by mike_2000_17 … all-too-limited makefiles. To solve your problem with the makefile, I can't really help you. You should probably not… implement this mechanism in a makefile, use a shell script instead, which you can call from… Re: Makefile determines different distributions Programming Software Development by iamthesgt … initially thought this worked, but it doesn't inside the Makefile (actually deleted the entire computer because the variable was not…; (even when run as super user, which is how the Makefile must be run). It appears the variable is getting set…