D3 part 1

This commit is contained in:
2023-12-04 22:21:12 +01:00
parent 660e5c1dd3
commit f2dcc77fbd
5 changed files with 237 additions and 0 deletions

20
2023/d3/Makefile Normal file
View File

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