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/apple | |
parent | 73471f4fb7ada04ae3a6a041f3cb2475782144a7 (diff) | |
download | dungeon_game-fd234aeb2f90757d2115cdabfc488e78d87d0f46.tar.xz |
Fix plugin target
Diffstat (limited to 'plugins/apple')
-rw-r--r-- | plugins/apple/Makefile | 6 | ||||
-rw-r--r-- | plugins/apple/apple.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/apple/Makefile b/plugins/apple/Makefile index 8e3ccca..33c3303 100644 --- a/plugins/apple/Makefile +++ b/plugins/apple/Makefile @@ -1,2 +1,4 @@ -apple.so: apple.c ../game/game.h - cc -g -shared -fpic -o apple.so apple.c +plugins/apple/apple.so: plugins/apple/apple.c plugins/game/game.h + cc -g -shared -fpic -o plugins/apple/apple.so plugins/apple/apple.c + +PLUGINS := ${PLUGINS} plugins/apple/apple.so diff --git a/plugins/apple/apple.c b/plugins/apple/apple.c index 7c2de77..dd8a559 100644 --- a/plugins/apple/apple.c +++ b/plugins/apple/apple.c @@ -1,6 +1,6 @@ #include <stddef.h> #include <stdlib.h> -#include "dungeon.h" +#include "../game/game.h" static struct entity apple; |