CFLAGS= LDFLAGS=-pthread BIN=posixio my_cat all: $(BIN) %: %.c $(CC) -o $@ $^ $(CFLAGS) $(LDFLAGS) test: $(BIN) ./run.sh clean: rm -f $(BIN)