CC = cc CFLAGS= -O -c LIBS = -lm INSTALL_DIR=$(HOME)/usr/bin EXEC = gpb OBJS = inter.o matrix.o parab.o all: $(EXEC) $(EXEC): $(OBJS) $(CC) $(OBJS) -o $(EXEC) $(LIBS) $(OBJS): Makefile .c.o: $(CC) $(CFLAGS) $< install: $(EXEC) rm -rf $(INSTALL_DIR)/$(EXEC) ln $(EXEC) $(INSTALL_DIR)/$(EXEC) clean: rm -f *.o new: rm -f $(EXECS) make all inter.o: parab.h matrix.o: matrix.h parab.o: matrix.h parab.h