Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CXX=g++
- CXXFLAGS=-Wall -g
- SRC=KoniecGry.cpp Losuj.cpp main.cpp Rozgrywka.cpp TworzenieBohatera.cpp TworzeniePotwora.cpp Walka.cpp WypiszStaty.cpp ZadaneObrazenia.cpp ZwiekszAtrybut.cpp ZwolnijPamiec.cpp
- OBJ=$(SRC:.cpp=.o)
- all : gra
- gra : $(OBJ)
- $(CXX) $(CXXFLAGS) $? -o $@
- $(OBJ) : $(SRC)
- $(CXX) -c $(CXXFLAGS) $*.cpp -o $@
- clean:
- rm -rf gra *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement