This commit is contained in:
Arian Karami 2023-03-26 21:14:44 +02:00
parent 2a205bd79e
commit a50c0a146f
1 changed files with 3 additions and 3 deletions

View File

@ -5,17 +5,17 @@ include config.mk
NAME?=rush-01
SRC=gen_util.c handle_input.c handle_mem.c main.c backtrack.c
HEADERS=
HEADERS=gen_util.h handle_input.h handle_mem.h backtrack.h
_OBJ=$(SRC:.c=.o)
OBJ=$(patsubst %,$(OBJDIR)/%,$(_OBJ))
DEPS=$(patsubst %,$(INCDIR)/%,$(HEADERS))
OBJ=$(patsubst %,$(OBJDIR)/%,$(_OBJ))
.PHONY: clean install uninstall fclean all re
all: $(BUILDDIR)/$(NAME)
build/rush-01:
$(BUILDDIR)/$(NAME): $(OBJ)
$(CC) $(LDFLAGS) -o $@ $^