TheAlgorithms-C/data_structures/dynamic_array/Makefile

14 lines
173 B
Makefile
Raw Normal View History

2020-04-15 06:16:22 +03:00
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