ajout rectification makefile + struct pixel

This commit is contained in:
2023-12-03 14:16:38 +01:00
parent b76b89f890
commit f8d4e822f1
6 changed files with 110 additions and 83 deletions

View File

@@ -0,0 +1,16 @@
CC = gcc
CFLAGS = -Wall -Wextra
all: prog
prog: main.o evenement.o
$(CC) -o $@ $^ -lgraph
main.o: main.c evenement.h
$(CC) $(CFLAGS) -c $< -o $@
evenement.o: evenement.c evenement.h
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f *.o prog