finished random room generation

This commit is contained in:
2024-07-12 20:11:56 -04:00
parent f5daea0b18
commit 606429a6ed
3 changed files with 215 additions and 176 deletions

View File

@ -18,10 +18,13 @@ EXEC = ../bin/cc3k # executable name
########## Targets ##########
test :
${CXX} ${CXXFLAGS} position.cc display.cc curses_input.cc curses_output.cc cursor.cc rng.cc map.cc testing.cc -o testing -lncurses
.PHONY : clean # not file names
${EXEC} : ${OBJECTS} # link step
${CXX} ${CXXFLAGS} -O0 $^ -o $@ -lncurses # additional object files before $^
${CXX} ${CXXFLAGS} $^ -o $@ -lncurses # additional object files before $^
${OBJECTS} : ${MAKEFILE_NAME} # OPTIONAL : changes to this file => recompile