15 lines
172 B
Plaintext
15 lines
172 B
Plaintext
|
CC = gcc
|
||
|
CFLAGS = -Wall -Wextra -I.
|
||
|
LIBS = -lgraph
|
||
|
|
||
|
all: serpent
|
||
|
|
||
|
serpent: main.o serpent.o
|
||
|
$() $() $^ -o $@ $()
|
||
|
|
||
|
%.o: %.c
|
||
|
$() $() -c $< -o $@
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o serpent
|