From owner-freebsd-questions Wed Jul 10 10:48:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4AE0B37B4F8 for ; Wed, 10 Jul 2002 10:48:35 -0700 (PDT) Received: from melete.ch.intel.com (chfdns02.ch.intel.com [143.182.246.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id A45FF43E3B for ; Wed, 10 Jul 2002 10:48:34 -0700 (PDT) (envelope-from pavan.balaji@intel.com) Received: from fmsmsxvs042.fm.intel.com (fmsmsxvs042.fm.intel.com [132.233.42.128]) by melete.ch.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.42 2002/05/23 22:21:11 root Exp $) with SMTP id g6AHmYn25336 for ; Wed, 10 Jul 2002 17:48:34 GMT Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29]) by fmsmsxvs042.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002071010491409262 for ; Wed, 10 Jul 2002 10:49:14 -0700 Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19) id ; Wed, 10 Jul 2002 10:48:33 -0700 Message-ID: <3D386AED1B47D411A94300508B11F18703BC5B7B@fmsmsx116.fm.intel.com> From: "Balaji, Pavan" To: "'freebsd-questions@freebsd.org'" Subject: Makefile Date: Wed, 10 Jul 2002 10:48:27 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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