D3 part 1

This commit is contained in:
tonitch committed 2023-12-04 22:21:12 +01:00
1 parent 660e5c1dd3
commit f2dcc77fbd
5 files changed
+237

No files matched your search

+20
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
./$<