1
0
Fork 0

Update makefile build location

This commit is contained in:
Kenwood 2021-06-10 19:02:12 -04:00
parent f90c11fb13
commit 7302557424
1 changed files with 3 additions and 1 deletions

View File

@ -2,11 +2,13 @@
CC = g++
TARGET = checkbit
BUILDIR = build
all: $(TARGET)
$(TARGET): $(TARGET).cpp
$(CC) -o $(TARGET) $(TARGET).cpp
mkdir $(BUILDIR)
$(CC) -o $(BUILDIR)/$(TARGET) $(TARGET).cpp
clean:
$(RM) $(TARGET)