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