# Makefile # CC = CC RM = rm -f DEBUGFLAGS = -g3 LIBS = -lInventor -lInventorXt -lm CFLAGS = -O3 $(DEBUGFLAGS) OBJS = Boid.o NamedObject.o Vector.o Obstacle.o example.o #all: example all: RUN .SUFFIXES: .c++ .c++.o: $(CC) -c $(CFLAGS) -o $@ $< example: $(OBJS) $(CC) $(DEBUGFLAGS) -o example $(OBJS) $(LIBS) RUN: example example clean: $(RM) $(OBJS)