exo 1 + pgl

This commit is contained in:
Debucquoy committed 2023-10-24 15:48:13 +02:00
1 parent 2649bc9a54
commit dfe4fd3729
3 files changed
+64

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
.PHONY: clean, mrproper
CC = gcc
CFLAGS = -g -Wall
all: ex1
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
ex1: ex1.o
$(CC) $(CFLAGS) -o $@ $+
clean:
rm -f *.o core.*
mrproper: clean
rm -f ex1
run: ex1
./$<