From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 02:08:36 2005 Return-Path: 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 C1B0016A4CE for ; Mon, 7 Feb 2005 02:08:36 +0000 (GMT) Received: from out012.verizon.net (out012pub.verizon.net [206.46.170.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A47043D49 for ; Mon, 7 Feb 2005 02:08:36 +0000 (GMT) (envelope-from reso3w83@verizon.net) Received: from ringworm.mechee.com ([4.26.84.7]) by out012.verizon.net ESMTP <20050207020835.ZJNK15978.out012.verizon.net@ringworm.mechee.com>; Sun, 6 Feb 2005 20:08:35 -0600 Received: by ringworm.mechee.com (Postfix, from userid 1001) id 885852CE7B6; Sun, 6 Feb 2005 18:04:34 -0800 (PST) From: "Michael C. Shultz" To: Gert Cuykens Date: Sun, 6 Feb 2005 18:04:32 -0800 User-Agent: KMail/1.7.2 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502061804.33737.reso3w83@verizon.net> X-Authentication-Info: Submitted using SMTP AUTH at out012.verizon.net from [4.26.84.7] at Sun, 6 Feb 2005 20:08:35 -0600 cc: freebsd-questions@freebsd.org Subject: Re: make file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 02:08:36 -0000 On Sunday 06 February 2005 06:02 pm, Gert Cuykens wrote: > make file > --------------------------------------------------------------------- >---------------- CC=cc -Wall -g > XCFLAGS=`pkg-config --cflags gtk+-2.0` > XLDFLAGS=`pkg-config --libs gtk+-2.0` > OBJ=ossxmix.o gtkvu.o gtkjoy.o > > ossxmix.o: ossxmix.c > $(CC) $(CFLAGS) $(XCFLAGS) -c -o ossxmix.o ossxmix.c > > gtkvu.o: gtkvu.c > $(CC) $(CFLAGS) $(XCFLAGS) -c -o gtkvu.o gtkvu.c > > gtkjoy.o: gtkjoy.c > $(CC) $(CFLAGS) $(XCFLAGS) -c -o gtkjoy.o gtkjoy.c > > ossxmix: $(OBJ) > $(CC) $(XLDFLAGS) -o ossxmix $(OBJ) > > install: ossxmix > all: ossxmix > clean: rm -f x y z ossxmix *.o core ossxmix core.* > --------------------------------------------------------------------- >--------------------- > > I# make > "Makefile", line 7: Need an operator > "Makefile", line 10: Need an operator > "Makefile", line 13: Need an operator > "Makefile", line 16: Need an operator > make: fatal errors encountered -- cannot continue > I# > > What did i do wrong with the make file ? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Missing tabs, need to be like: > ossxmix.o: ossxmix.c > $(CC) $(CFLAGS) $(XCFLAGS) -c -o ossxmix.o ossxmix.c > > gtkvu.o: gtkvu.c > $(CC) $(CFLAGS) $(XCFLAGS) -c -o gtkvu.o gtkvu.c > > gtkjoy.o: gtkjoy.c > $(CC) $(CFLAGS) $(XCFLAGS) -c -o gtkjoy.o gtkjoy.c > > ossxmix: $(OBJ) > $(CC) $(XLDFLAGS) -o ossxmix $(OBJ) -Mike