diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2024-06-19 14:17:30 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2024-06-19 14:17:30 +0300 |
commit | b2df541c5d0dc00368754fd35e0af2341d1458eb (patch) | |
tree | e657b490c7b97814120026f1112fa1a7265d5a10 /Makefile | |
parent | dff89dcae590315c6916bc24407f9c80dd74f049 (diff) |
moved all containers to a single header "container.h"
TODO: add linked list, hash map and other shit like this to the header
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -6,15 +6,17 @@ CFLAGS := -g -Wall -Wextra -Wpedantic -Werror -Wno-language-extension-token tests: dynarray -dynarray: tests/dynarray.c - $(CC) $(CFLAGS) -o $@ $^ -DTT_CHAR +dynarray: tests/dynarray.c tests/dynarray_struct.c + $(CC) $(CFLAGS) -o $@ $< -DTT_CHAR ./dynarray - $(CC) $(CFLAGS) -o $@ $^ -DTT_SHORT + $(CC) $(CFLAGS) -o $@ $< -DTT_SHORT ./dynarray - $(CC) $(CFLAGS) -o $@ $^ -DTT_INT + $(CC) $(CFLAGS) -o $@ $< -DTT_INT ./dynarray - $(CC) $(CFLAGS) -o $@ $^ -DTT_LONG + $(CC) $(CFLAGS) -o $@ $< -DTT_LONG + ./dynarray + $(CC) $(CFLAGS) -o $@ tests/dynarray_struct.c ./dynarray - rm dynarray + rm $@ |