Skip to content

Commit

Permalink
removing default memcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
palkh committed Jul 22, 2024
1 parent dfae98f commit d00dce8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified cutils.a
Binary file not shown.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SOURCES = $(wildcard $(SRC_DIR)/*.c)
OBJECTS = $(SOURCES:$(SRC_DIR)/%.c=$(OBJ_DIR)/%.o)

# memory checking
MEMCHECK = 1
MEMCHECK = 0

# The default targetall: directories $(LIBRARY)
all: directories $(LIBRARY)
Expand All @@ -42,7 +42,7 @@ $(OBJ_DIR)/%.o: $(SRC_DIR)/%.c
$(CC) $(CFLAGS) -c -o $@ $< -D MEMCHECK=$(MEMCHECK)

check:
$(CC) $(CFLAGS) -o $(BIN_DIR)/test test.c $(LIBRARY).a -D MEMCHECK=$(MEMCHECK)
$(CC) $(CFLAGS) -o $(BIN_DIR)/test test.c $(LIBRARY).a -D MEMCHECK=1
bin/test

clean:
Expand Down

0 comments on commit d00dce8

Please sign in to comment.