mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-25 23:09:36 +03:00
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
|