mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-28 16:23:10 +03:00
14 lines
173 B
Makefile
14 lines
173 B
Makefile
CC = gcc
|
|
CFLAGS = -g -Wall
|
|
|
|
all: main
|
|
|
|
main: main.o dynamic_array.o
|
|
$(CC) $(CFLAGS) $^ -o $@
|
|
|
|
dynamic_array.o: dynamic_array.c
|
|
$(CC) $(CFLAGS) -c $^
|
|
|
|
clean:
|
|
rm *.o main
|