diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-06-09 17:31:27 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-06-09 17:31:27 +0200 |
commit | fd234aeb2f90757d2115cdabfc488e78d87d0f46 (patch) | |
tree | 6e7b5a1a6961530fce956d3c0151c39728571f07 /plugins/monster | |
parent | 73471f4fb7ada04ae3a6a041f3cb2475782144a7 (diff) | |
download | dungeon_game-fd234aeb2f90757d2115cdabfc488e78d87d0f46.tar.xz |
Fix plugin target
Diffstat (limited to 'plugins/monster')
-rw-r--r-- | plugins/monster/Makefile | 6 | ||||
-rw-r--r-- | plugins/monster/monster.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/monster/Makefile b/plugins/monster/Makefile index 1ba16c5..28edde8 100644 --- a/plugins/monster/Makefile +++ b/plugins/monster/Makefile @@ -1,2 +1,4 @@ -monster.so: monster.c ../game/game.h - cc -g -shared -fpic -o monster.so monster.c +plugins/monster/monster.so: plugins/monster/monster.c plugins/game/game.h + cc -g -shared -fpic -o plugins/monster/monster.so plugins/monster/monster.c + +PLUGINS := ${PLUGINS} plugins/monster/monster.so diff --git a/plugins/monster/monster.c b/plugins/monster/monster.c index 167de88..6cb14ff 100644 --- a/plugins/monster/monster.c +++ b/plugins/monster/monster.c @@ -1,6 +1,6 @@ #include <stdlib.h> #include <stddef.h> -#include "dungeon.h" +#include "../game/game.h" static struct entity monster; |