CC=gcc CFLAGS=-std=gnu99 LDFLAGS=-lpthread lfs: lfs.o $(CC) -o $@ $(LDFLAGS) $^ .c.o: $(CC) $(CFLAGS) -c $< .PHONY: clean clean: -rm -f *.o lfs