mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-24 22:39:52 +03:00
13 lines
153 B
Makefile
13 lines
153 B
Makefile
CC = gcc
|
|
CFLAGS = -g -c -Wall
|
|
|
|
all: main
|
|
main: main.o list.o
|
|
$(CC) -g main.o list.o -o main
|
|
|
|
list.o: list.c
|
|
$(CC) $(CFLAGS) list.c
|
|
|
|
clean:
|
|
rm *o main
|