Refactor cpair and add initial forking

This commit is contained in:
2018-12-12 22:06:56 +01:00
parent ccfbf9e1ed
commit 563cced7ea
2 changed files with 84 additions and 20 deletions

View File

@@ -4,7 +4,7 @@ TARGET = cpair
all: $(TARGET).c
$(CC) $(CFLAGS) $(TARGET).c
$(CC) $(TARGET).o -o $(TARGET)
$(CC) $(TARGET).o -o $(TARGET) -lm
install:
cp $(TARGET) /usr/local/bin/$(TARGET)