| 1 | NEWSRCS := # insure blank |
| 2 | |
| 3 | NEWSRCS += game.cpp |
| 4 | NEWSRCS += main.cpp |
| 5 | NEWSRCS += ticks.cpp |
| 6 | NEWSRCS += handleSignal.cpp |
| 7 | |
| 8 | NEWSRCS += entityCreator.cpp |
| 9 | NEWSRCS += entityManager.cpp |
| 10 | NEWSRCS += effectManager.cpp |
| 11 | NEWSRCS += collisionManager.cpp |
| 12 | NEWSRCS += CollisionInfo.cpp |
| 13 | |
| 14 | |
| 15 | NEWDIRS := # insure blank |
| 16 | |
| 17 | NEWDIRS += Entities/ |
| 18 | NEWDIRS += GameStates/ |
| 19 | NEWDIRS += Effects/ |
| 20 | NEWDIRS += config/ |
| 21 | NEWDIRS += input/ |
| 22 | NEWDIRS += graphics/ |
| 23 | |
| 24 | |
| 25 | # Post dir setup |
| 26 | |
| 27 | CURDIR := |
| 28 | |
| 29 | NEWSRCS := $(addprefix ${CURDIR},${NEWSRCS}) |
| 30 | NEWDIRS := $(addprefix ${CURDIR},${NEWDIRS}) |
| 31 | NEWOBJS := ${NEWSRCS:.cpp=.o} |
| 32 | NEWDEPS := ${NEWSRCS:.cpp=.d} |
| 33 | |
| 34 | # Append to lists |
| 35 | |
| 36 | SRCS += ${NEWSRCS} |
| 37 | DIRS += ${NEWDIRS} |
| 38 | OBJS += $(addprefix ${OBJSDIR},${NEWOBJS}) |
| 39 | DEPS += $(addprefix ${DEPSDIR},${NEWDEPS}) |
| 40 | |
| 41 | |
| 42 | include $(addprefix ${SRCSDIR},$(addsuffix ${DIRMK},${NEWDIRS})) |