Skip to content

Commit e37c55b

Browse files
author
Thumperrr
committed
Makefile
1 parent 73d5db8 commit e37c55b

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

Makefile

+3-8
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ DEBUG_PREPROCESSOR = -D_DEBUG
1919
RELEASE_PREPROCESSOR = -D_RELEASE
2020

2121
EXECUTABLE = chesspp
22-
TARGETDIR = ../bin
23-
TARGET = $(TARGETDIR)/$(EXECUTABLE)
22+
TARGET = ../$(EXECUTABLE)
2423
SOURCE = $(shell cd src ; ls *.cpp) $(shell cd src ; ls board/*.cpp)
2524

2625
all: debug
@@ -33,10 +32,6 @@ release: CXX_PREPROCESSOR=$(RELEASE_PREPROCESSOR)
3332
release: LIBS=$(RELEASE_LIBS)
3433
release: main
3534

36-
main: | bin
37-
cd src; \
35+
main:
36+
cd src;
3837
$(COMPILER) $(CXX_FLAGS) $(CXX_PREPROCESSOR) -o $(TARGET) $(SOURCE) $(LIBS)
39-
40-
bin:
41-
mkdir bin
42-

0 commit comments

Comments
 (0)