Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
uanhi committed Mar 6, 2021
1 parent a429e26 commit 94360b7
Show file tree
Hide file tree
Showing 30 changed files with 4,542 additions and 4,330 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ package-lock.json
a.out
.idea
1.cc
.vscode
.vscode
tmp
25 changes: 25 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
DIR_SRC = ./src
DIR_TMP = ./tmp
CC = g++

SRC = $(wildcard ${DIR_SRC}/*.cpp)
TMP = $(wildcard $(DIR_TMP)/*.o)

all:
${CC} -c $(foreach i, $(SRC), $(i))

install:
$(shell mkdir ${DIR_TMP})
$(shell mv *.o ${DIR_TMP})

${CC} $(foreach i, $(TMP), $(i)) -o drift

@echo "\n\t\033[41;37m<TARGET FILE GENERATED>: ./drift\033[0m 🐇🐰🍻 \n"

run:
./test/run.sh

clean:
rm -f *.o
rm -rf ${DIR_TMP}
rm -f drift
Binary file added drift
Binary file not shown.
Loading

0 comments on commit 94360b7

Please sign in to comment.