t
This commit is contained in:
14
#Makefile#
Normal file
14
#Makefile#
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user