Add initial shared memory object functions

This commit is contained in:
2019-01-11 16:44:38 +01:00
parent 435eb6dba6
commit 9a652f4d4e
5 changed files with 139 additions and 4 deletions

View File

@@ -5,16 +5,16 @@ TARGET_2 = supervisor
all: $(TARGET_1).c $(TARGET_2).c
$(CC) $(CFLAGS) $(TARGET_1).c $(TARGET_2).c
$(CC) $(TARGET_1).o -o $(TARGET_1)
$(CC) $(TARGET_2).o -o $(TARGET_2)
$(CC) $(TARGET_1).o -o $(TARGET_1) -lrt
$(CC) $(TARGET_2).o -o $(TARGET_2) -lrt
generator: $(TARGET_1).c
$(CC) $(CFLAGS) $(TARGET_1).c
$(CC) $(TARGET_1).o -o $(TARGET_1)
$(CC) $(TARGET_1).o -o $(TARGET_1) -lrt
supervisor: $(TARGET_2).c
$(CC) $(CFLAGS) $(TARGET_2).c
$(CC) $(TARGET_2).o -o $(TARGET_2)
$(CC) $(TARGET_2).o -o $(TARGET_2) -lrt
install:
cp $(TARGET_1) /usr/local/bin/graph-$(TARGET_1)