This commit is contained in:
2023-12-11 14:45:42 +01:00
parent 04f0411ed5
commit 3548dd3f0f
2 changed files with 312 additions and 0 deletions

14
Makefile Normal file
View File

@@ -0,0 +1,14 @@
CC = gcc
CFLAGS = -Wall -Wextra -I.
LIBS = -lgraph
all: serpent
serpent: main.o serpent.o
$(CC) $(CFLAGS) $^ -o $@ $(LIBS)
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f *.o serpent