Skip to content
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.

Commit

Permalink
Mais bala ainda
Browse files Browse the repository at this point in the history
  • Loading branch information
Henriquelay committed Mar 4, 2021
1 parent 2ba37bf commit 87f07dc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,20 @@ VALZAO_FLAGS ?= $(VAL_FLAGS) --show-leak-kinds=all

$(BUILD_DIR)/$(TARGET_EXEC): $(OBJS)
$(CC) $(OBJS) -o $@ $(LDFLAGS)
make clean

# c source
$(BUILD_DIR)/%.c.o: %.c
$(MKDIR_P) $(dir $@)
$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@

clean:
$(RM) $(TARGET_EXEC) */*.o
$(RM) */*.o */*.d


valzin: $(TARGET_EXEC)
$(VALGRIND) $(VALZIN_FLAGS) $(TARGET_EXEC) $(ARGS)
valzin: $(TARGET_EXEC)
val: $(TARGET_EXEC)
$(VALGRIND) $(VAL_FLAGS) $(TARGET_EXEC) $(ARGS)
valzin: $(TARGET_EXEC)
valzao: $(TARGET_EXEC)
$(VALGRIND) $(VALZAO_FLAGS) $(TARGET_EXEC) $(ARGS)

0 comments on commit 87f07dc

Please sign in to comment.