From 9a3c9fc053f6caed15ba97725896c313ad35c65d Mon Sep 17 00:00:00 2001 From: Dendy Date: Sun, 7 Feb 2021 08:49:53 +0100 Subject: [PATCH] Reorganize for easier including --- {src/node => node}/node.c | 0 {src/node => node}/node.h | 0 {src/node2d => node2d}/node2d.c | 0 {src/node2d => node2d}/node2d.h | 0 Makefile => testbed/Makefile | 4 ++-- {src => testbed}/main.c | 0 src/types.h => types.h | 0 7 files changed, 2 insertions(+), 2 deletions(-) rename {src/node => node}/node.c (100%) rename {src/node => node}/node.h (100%) rename {src/node2d => node2d}/node2d.c (100%) rename {src/node2d => node2d}/node2d.h (100%) rename Makefile => testbed/Makefile (55%) rename {src => testbed}/main.c (100%) rename src/types.h => types.h (100%) diff --git a/src/node/node.c b/node/node.c similarity index 100% rename from src/node/node.c rename to node/node.c diff --git a/src/node/node.h b/node/node.h similarity index 100% rename from src/node/node.h rename to node/node.h diff --git a/src/node2d/node2d.c b/node2d/node2d.c similarity index 100% rename from src/node2d/node2d.c rename to node2d/node2d.c diff --git a/src/node2d/node2d.h b/node2d/node2d.h similarity index 100% rename from src/node2d/node2d.h rename to node2d/node2d.h diff --git a/Makefile b/testbed/Makefile similarity index 55% rename from Makefile rename to testbed/Makefile index 7c3026d..9d712dc 100644 --- a/Makefile +++ b/testbed/Makefile @@ -6,10 +6,10 @@ CC="tcc" -SRC=src/main.c src/node/node.c src/node2d/node2d.c +SRC=main.c ../node/node.c ../node2d/node2d.c main: $(SRC) - tcc -o $@ -I src $(SRC) + tcc -o $@ -I ../ $(SRC) clean: rm -rf main diff --git a/src/main.c b/testbed/main.c similarity index 100% rename from src/main.c rename to testbed/main.c diff --git a/src/types.h b/types.h similarity index 100% rename from src/types.h rename to types.h