Group project

Alone because I have not friend haha (jk)
This commit is contained in:
Debucquoy
2023-10-24 12:19:02 +02:00
parent d35439f7d3
commit 2649bc9a54
3 changed files with 100 additions and 4 deletions

View File

@ -2,7 +2,7 @@
CC = gcc
CFLAGS = -g -Wall
all: ex3 ex4
all: ex3 ex4 ex5 group
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
@ -16,11 +16,14 @@ ex4: ex4.o
ex5: ex5.o
$(CC) $(CFLAGS) -o $@ $+
group: group.o
$(CC) $(CFLAGS) -o $@ $+
clean:
rm -f *.o core.*
mrproper: clean
rm -f ex3 ex4 ex5
rm -f ex3 ex4 ex5 group
run: ex5
./ex5
run: group
./group