CC := gcc CFLAGS := -g -Wall -Wextra -Wpedantic -Werror -Wno-language-extension-token -Wno-stringop-overread -Iinclude tests: container types log json container: tests/dynarray.c tests/dynarray_struct.c tests/obscure.c \ tests/binary_search.c tests/linked_list.c tests/hashset.c \ tests/hmap.c include/container.h \ $(CC) $(CFLAGS) -o $@ $< -DTT_CHAR ./$@ $(CC) $(CFLAGS) -o $@ $< -DTT_SHORT ./$@ $(CC) $(CFLAGS) -o $@ $< -DTT_INT ./$@ $(CC) $(CFLAGS) -o $@ $< -DTT_LONG ./$@ $(CC) $(CFLAGS) -o $@ tests/dynarray_struct.c ./$@ $(CC) $(CFLAGS) -o $@ tests/obscure.c ./$@ $(CC) $(CFLAGS) -o $@ tests/binary_search.c ./$@ # $(CC) $(CFLAGS) -o $@ tests/linked_list.c # ./$@ $(CC) $(CFLAGS) -o $@ tests/hmap.c ./$@ #$(CC) $(CFLAGS) -o $@ tests/hashset.c #./$@ rm $@ types: tests/types.c include/rstypes.h $(CC) -o $@ tests/types.c $(CFLAGS) ./$@ rm $@ log: tests/log.c include/log.h $(CC) -o $@ tests/log.c $(CFLAGS) - ./$@ rm $@ json: tests/json.c include/jacson.h $(CC) -o $@ tests/json.c $(CFLAGS) ./$@ rm $@ stringbuilder: tests/sb.c include/stringbuilder.h $(CC) -o $@ tests/sb.c $(CFLAGS) ./$@ rm $@