CC = gcc CFLAGS = -O3 #CFLAGS = -g -O3 IMAGE_OBJS = imageio.o util.o all: testimage testimage: testimage.o $(IMAGE_OBJS) $(CC) -o testimage testimage.o $(IMAGE_OBJS) -lm .c.o: $(CC) $(CFLAGS) -c $(COPT) $< clean: rm *.o