make Make make all the files
parent
24fed07369
commit
9ebc00b0af
10
Makefile
10
Makefile
|
@ -1,10 +1,10 @@
|
||||||
source = $(wildcard ./src/*.cpp)
|
source = $(shell find ./ -name "*.cpp")
|
||||||
headers = $(wildcard ./src/*.h)
|
headers = $(shell find ./ -name "*.h")
|
||||||
|
|
||||||
main: $(source) $(headers)
|
main: $(source) $(headers)
|
||||||
c++ $(source) $(headers) -o ./bin/minecraft -Wall -Wextra -Werror
|
c++ $(source) $(headers) -o ./bin/minecraft -Wall -Wextra
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -r bin/
|
rm -rv bin/
|
||||||
mkdir bin/
|
mkdir bin/
|
||||||
touch bin/.placeholder
|
touch bin/.placeholder
|
||||||
|
|
Loading…
Reference in New Issue