diff -r 5427beba96d1 -r 0bdb910478cc src/chess/Makefile --- a/src/chess/Makefile Tue Aug 13 00:33:59 2019 +0200 +++ b/src/chess/Makefile Sun Oct 01 12:53:35 2023 +0200 @@ -26,25 +26,19 @@ # POSSIBILITY OF SUCH DAMAGE. # -include ../../conf.mk +include ../../config.mk -SRC += pawn.c -SRC += rook.c -SRC += knight.c -SRC += bishop.c -SRC += queen.c -SRC += king.c -SRC += rules.c -SRC += pgn.c +SRC = pawn.c rook.c knight.c bishop.c queen.c king.c \ + rules.c pgn.c OBJ = $(SRC:%.c=$(BUILDDIR)/%$(OBJ_EXT)) all: $(BUILDDIR) $(OBJ) - $(AR) $(ARFLAGS) $(BUILDDIR)/chess$(LIB_EXT) $(OBJ) + $(AR) $(ARFLAGS) $(BUILDDIR)/libchess$(LIB_EXT) $(OBJ) $(BUILDDIR)/%$(OBJ_EXT): %.c $(CC) -o $@ $(CFLAGS) -c $< $(BUILDDIR): $(MKDIR) $(MKDIRFLAGS) $(BUILDDIR) - \ No newline at end of file +