GCC= gcc CFLAGS = -W -Wall -std=c99 -pipe -O2 -Wall -W -D_REENTRANT INCLUDE = LIBS = -lgsl -lgslcblas -lm -lglut -lGL -lGLU -la2ri OBJECTS = main.o TARGET = precision_squelette all : $(TARGET) $(TARGET) : $(OBJECTS) $(GCC) $(CFLAGS) $(INCLUDE) $(OBJECTS) -o $(TARGET) $(LIBS) %.o : %.c $(GCC) $(CFLAGS) $(INCLUDE) -c $< -o $@ clean : rm -f *~ *.o $(TARGET) cleanall : clean rm -rf ../../bin/$(TARGET) install : $(TARGET) mkdir ../../bin/$(TARGET) cp $(TARGET) ../../bin/$(TARGET)