mirror of https://github.com/TheAlgorithms/C
13 lines
156 B
Makefile
13 lines
156 B
Makefile
|
CC = gcc
|
||
|
CFLAGS = -g -Wall
|
||
|
|
||
|
all: main
|
||
|
|
||
|
main: main.o hash_set.o
|
||
|
$(CC) $(CFLAGS) $^ -o $@
|
||
|
|
||
|
hash_set.o: hash_set.c
|
||
|
$(CC) $(CFLAGS) -c $^
|
||
|
|
||
|
clean:
|
||
|
rm *.o main
|