Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 10:51:25 -0700
From:      "Balaji, Pavan" <pavan.balaji@intel.com>
To:        "Balaji, Pavan" <pavan.balaji@intel.com>, "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Makefile
Message-ID:  <3D386AED1B47D411A94300508B11F18703BC5B7D@fmsmsx116.fm.intel.com>

next in thread | raw e-mail | index | archive | help

Please disregard this mail. I figured it out.

Thanx

Pavan Balaji,
CIS Graduate Student,
Ohio State University

"Being happy doesn't mean that everything is perfect... It just means that
you have decided to see beyond the imperfections"  --  Rash


> -----Original Message-----
> From: Balaji, Pavan [mailto:pavan.balaji@intel.com]
> Sent: Wednesday, July 10, 2002 12:48 PM
> To: 'freebsd-questions@freebsd.org'
> Subject: Makefile
> 
> 
> 
> I was having some problem with writing a Makefile in FreeBSD. 
> This is what I
> wrote:
> 
> --------
> LDFLAGS = -lpthread
> CFLAGS = -I/usr/include -Wall -Werror
> 
> TARGETS = something1 something2
> all: $(TARGETS)
> 
> something1: something1.o
> something2: something2.o
> 
> clean:
> 	rm -rf *.o
> ---------
> 
> It seems to work fine on Linux, but when I use it in FreeBSD, it just
> creates the object files and stops. Also, the LDFLAGS aren't 
> being used.
> 
> Any tips about this?
> 
> 
> Pavan Balaji,
> CIS Graduate Student,
> Ohio State University
> 
> "Being happy doesn't mean that everything is perfect... It 
> just means that
> you have decided to see beyond the imperfections"  --  Rash
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D386AED1B47D411A94300508B11F18703BC5B7D>