diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-19 15:22:00 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-19 15:22:00 +0100 |
| commit | 19ae4e74aedbbfde9aaed9241f616decc3ec9059 (patch) | |
| tree | c4eca1b207261e24b645d5d861b3b27631ead75e /Makefile | |
| parent | c435852cc6147a0af23ef12cc0a07a195ac60756 (diff) | |
| download | 2048-19ae4e74aedbbfde9aaed9241f616decc3ec9059.tar.gz 2048-19ae4e74aedbbfde9aaed9241f616decc3ec9059.tar.bz2 2048-19ae4e74aedbbfde9aaed9241f616decc3ec9059.zip | |
Interface for ai (tested with random AI)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ INCDIR = include OBJDIR = build CXX = g++ -CXXFLAGS = -Wall -Wextra -I$(INCDIR) $(shell sdl2-config --cflags) +CXXFLAGS = -Wall -Wextra -I$(INCDIR) $(shell sdl2-config --cflags) -std=c++11 LDFLAGS = $(shell sdl2-config --libs) -lSDL2_ttf SRC = $(shell find $(SRCDIR) -type f -name "*.cpp") @@ -18,7 +18,7 @@ OBJ = $(SRC:$(SRCDIR)/%.cpp=$(OBJDIR)/%.o) all: prebuild $(NAME) prebuild: - $(MKDIR) $(OBJDIR) + @$(MKDIR) $(OBJDIR) $(NAME): $(OBJ) $(CXX) -o $@ $^ $(LDFLAGS) |
