Date: Wed, 10 Jul 2002 10:48:27 -0700 From: "Balaji, Pavan" <pavan.balaji@intel.com> To: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: Makefile Message-ID: <3D386AED1B47D411A94300508B11F18703BC5B7B@fmsmsx116.fm.intel.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D386AED1B47D411A94300508B11F18703BC5B7B>