make file

Gert Cuykens gert.cuykens at
Sun Feb 6 18:02:20 PST 2005

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

What did i do wrong with the make file ?

More information about the freebsd-questions mailing list