Joined: Mar 01, 2007 Posts: 57 Location: New Zealand
Status: Offline
Posted: Fri Feb 05, 2010 1:31 am Post subject: Trouble with Makefile
Long time no see fellas.
So I've been bored and pulled out an old copy of Godwars and the whole having the .o files in the same directory as the .c files was pissing me off, so I tried to modify the Makefile to move the .o files into their own directory, and it's almost there, but not quite, I can't figure out what exactly is going wrong:
Code:
CC = gcc
C_FLAGS = -w -ggdb3 -g -Wall
L_FLAGS = -lz -lcrypt -lpthread
O_DIR = o
Try that web site...I see towards the bottom they have some examples for what you're trying to do. I had found some decent Makefile tutorial sites a month or so ago when I was trying to get some information on file dependencies. Couldn't get find to much info on what I needed done in it and gave up after time. I had bookmarked some of the sites but I deleted them and I can't seem to find the sites I found even with the same searches on Google...
Joined: Mar 01, 2007 Posts: 57 Location: New Zealand
Status: Offline
Posted: Sun Feb 07, 2010 3:30 pm Post subject: Re: Trouble with Makefile
Lol, I really am lost now, trying to do it like he does it in that tutorial but I can't get there, it's a shame, the tutorial was really good up until the last bit, well worded, well explained, easy to understand, but then he throws that last bit in there without explaining what he's actually done, and so far trying to get the same thing working on mine is just plain not working >.<
Time synchro. with the server - Timezone/DST with your computer
Page 1 of 1
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum