Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2005 03:02:13 +0100
From:      Gert Cuykens <gert.cuykens@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   make file
Message-ID:  <ef60af0905020618022f02ea59@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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 ?



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