This commit is contained in:
Debucquoy
2023-11-08 09:42:46 +01:00
parent dfe4fd3729
commit 58acfde2b4
6 changed files with 148 additions and 3 deletions

View File

@ -2,12 +2,12 @@
CC = gcc
CFLAGS = -g -Wall
all: ex1
all: ex1 ex2 ex3 ex4 ex5
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
ex1: ex1.o
%: %.o
$(CC) $(CFLAGS) -o $@ $+
clean:
@ -16,5 +16,9 @@ clean:
mrproper: clean
rm -f ex1
run: ex1
run: ex6
./$<
graph: run
graph -Tpng plot > plot.png
nsxiv plot.png