src/Makefile

changeset 854
fe0d69d72bcd
parent 850
b2bc48c2b251
child 899
303a981e6834
--- a/src/Makefile	Thu May 23 19:29:14 2024 +0200
+++ b/src/Makefile	Thu May 23 20:29:28 2024 +0200
@@ -67,7 +67,8 @@
 	$(CC) -o $@ $(CFLAGS) -c $<
 
 $(build_dir)/array_list$(OBJ_EXT): array_list.c cx/array_list.h cx/list.h \
- cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h
+ cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \
+ cx/compare.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
@@ -85,8 +86,8 @@
 	$(CC) -o $@ $(CFLAGS) -c $<
 
 $(build_dir)/hash_map$(OBJ_EXT): hash_map.c cx/hash_map.h cx/map.h \
- cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/string.h \
- cx/hash_key.h cx/utils.h
+ cx/common.h cx/collection.h cx/allocator.h cx/iterator.h cx/compare.h \
+ cx/string.h cx/hash_key.h cx/utils.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
@@ -96,17 +97,17 @@
 
 $(build_dir)/linked_list$(OBJ_EXT): linked_list.c cx/linked_list.h \
  cx/common.h cx/list.h cx/collection.h cx/allocator.h cx/iterator.h \
- cx/utils.h cx/compare.h
+ cx/compare.h cx/utils.h cx/compare.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
 $(build_dir)/list$(OBJ_EXT): list.c cx/list.h cx/common.h cx/collection.h \
- cx/allocator.h cx/iterator.h
+ cx/allocator.h cx/iterator.h cx/compare.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
 $(build_dir)/map$(OBJ_EXT): map.c cx/map.h cx/common.h cx/collection.h \
- cx/allocator.h cx/iterator.h cx/string.h cx/hash_key.h
+ cx/allocator.h cx/iterator.h cx/compare.h cx/string.h cx/hash_key.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 
@@ -130,7 +131,7 @@
 	$(CC) -o $@ $(CFLAGS) -c $<
 
 $(build_dir)/tree$(OBJ_EXT): tree.c cx/tree.h cx/common.h cx/iterator.h \
- cx/array_list.h cx/list.h cx/collection.h cx/allocator.h
+ cx/array_list.h cx/list.h cx/collection.h cx/allocator.h cx/compare.h
 	@echo "Compiling $<"
 	$(CC) -o $@ $(CFLAGS) -c $<
 

mercurial