diff options
author | Louie Shprung <lshprung@scu.edu> | 2022-12-10 16:59:04 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2022-12-10 16:59:04 -0800 |
commit | 603af77207d98b607de80bb734e4123bb9279786 (patch) | |
tree | 828196e85cc6607d83e8cb213715ec8915ddc272 | |
parent | cdd4d3bb1cb896461950dc05e63917458e983b80 (diff) |
Move include/ into src/
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/Makefile.in | 2 | ||||
-rw-r--r-- | src/body.c | 2 | ||||
-rw-r--r-- | src/draw.c | 2 | ||||
-rw-r--r-- | src/include/body.h (renamed from include/body.h) | 0 |
5 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 262aff6..ebbd287 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,3 @@ bin_PROGRAMS = simple-snake -simple_snake_SOURCES = body.c draw.c body.h +simple_snake_SOURCES = body.c draw.c simple_snake_LDADD = -lncurses -lm diff --git a/src/Makefile.in b/src/Makefile.in index a2b78fd..a5ae1f3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -246,7 +246,7 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -simple_snake_SOURCES = body.c draw.c body.h +simple_snake_SOURCES = body.c draw.c simple_snake_LDADD = -lncurses -lm all: all-am @@ -2,7 +2,7 @@ #include <stdbool.h> #include <stdlib.h> -#include "../include/body.h" +#include "include/body.h" typedef struct node{ int x; @@ -10,7 +10,7 @@ #include <time.h> #include <unistd.h> -#include "../include/body.h" +#include "include/body.h" #define START_SIZE 4 //TODO consider having speed be affected by window size diff --git a/include/body.h b/src/include/body.h index 29241bf..29241bf 100644 --- a/include/body.h +++ b/src/include/body.h |