APP=km-test CFLAGS=-W -Wall -Wextra -pedantic -std=c11 -O2 OBJS=km.o main.o LIBS=-lm .PHONY=all clean app: $(APP) $(APP): $(OBJS) $(CC) -o $(APP) $(OBJS) $(LIBS) %.o: %.c $(CC) -c $(CFLAGS) $< clean: $(RM) $(OBJS)