We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73d5db8 commit e37c55bCopy full SHA for e37c55b
Makefile
@@ -19,8 +19,7 @@ DEBUG_PREPROCESSOR = -D_DEBUG
19
RELEASE_PREPROCESSOR = -D_RELEASE
20
21
EXECUTABLE = chesspp
22
-TARGETDIR = ../bin
23
-TARGET = $(TARGETDIR)/$(EXECUTABLE)
+TARGET = ../$(EXECUTABLE)
24
SOURCE = $(shell cd src ; ls *.cpp) $(shell cd src ; ls board/*.cpp)
25
26
all: debug
@@ -33,10 +32,6 @@ release: CXX_PREPROCESSOR=$(RELEASE_PREPROCESSOR)
33
32
release: LIBS=$(RELEASE_LIBS)
34
release: main
35
36
-main: | bin
37
- cd src; \
+main:
+ cd src;
38
$(COMPILER) $(CXX_FLAGS) $(CXX_PREPROCESSOR) -o $(TARGET) $(SOURCE) $(LIBS)
39
-
40
-bin:
41
- mkdir bin
42
0 commit comments