Questions tagged [makefile]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
205 views

pset3/music/helpers.c - "no makefile found"

This is probably a very silly question with a very simple answer, but it has been torturing me for several days now. I want to try to compile notes.c and synthesize.c to see if the code I wrote in ...
0
votes
1answer
595 views

Making a generic Makefile

Hey how to write a Makefile that is generic that works for any file and take command line arguments to add extra flag information. Also how to access Makefile from anywhere?
1
vote
2answers
128 views

PSET6 server: Make server error - Please please help =(

I was almost finished debugging server.c (the only thing that didn't work was that I was getting a 404 error when submitting my query on hello.html) by using gdb. When I thought I'd noticed what the ...
0
votes
0answers
73 views

pset3 issues with Makefile

I have been having problems with pset3. Pretty much every time I try to make a program it gives me the error: relocation 0 has invalid symbol index 11, and then repeats this error several times. I ...
0
votes
1answer
4k views

what is LIBS in the makefile?

I have a short question related to the purpose of this line in the Makefile of pset5 (spellchecker): # space-separated list of libraries, if any, # each of which should be prefixed with -l LIBS = I ...
1
vote
1answer
515 views

how to compile dictionary.c? [duplicate]

I'm having trouble figuring out the problem with my load function. here's the weird error I get (I've never seen something like it): jharvard@appliance (~/Dropbox/pset5): make dictionary clang -ggdb3 ...
0
votes
1answer
338 views

Makefile config

As we know.. in the appliance when we use the command.. . make [file-name] .. It automatically complied with some flag....-ggdb -O0 -std=c99 -Wall - Werror But I need to know in which directory the ...
0
votes
2answers
314 views

Test program compiles with <math.h>, speller.c shows error

I've edited the pset6 Makefile to include all headers, and was careful not to edit any spaces or tabs. When I try to compile speller, I get the following error: make: *** No rule to make target `math....
2
votes
2answers
314 views

How does "make" know how to compile if no "Makefile" is specified?

For the earlier psets, no makefile is present yet make runs without problems. How?
0
votes
1answer
152 views

Week 5 Walkthroughs

I am trying to get Button.c to work, which is the first of the Walkthroughs from Week 5. I transferred the spl folder to my current directory, altered the Makefile from Breakout so it is working on ...
1
vote
1answer
168 views

Makefile missing separator

I'm confused because I did this successfully at first, then my appliance crashed and I had to start over, and now I am having trouble with the Makefile for copy.c I have a file names "Makefile" that ...