aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Liodden <[email protected]>2017-11-14 16:34:54 +0100
committerErik Liodden <[email protected]>2017-11-15 15:59:55 +0100
commit7ba882f940f352fb17698c32819575f1a51fce09 (patch)
treeff07ecd2735aa3809fb71e1009299c89af40c6a9
parent9ffde2d19f70a54efd297d0f34eda91e012ca18a (diff)
downloadalgdat-7ba882f940f352fb17698c32819575f1a51fce09.tar.gz
restructure
put all oving files in one folder and put option under misc where it belong.
-rw-r--r--src/Makefile4
-rw-r--r--src/misc/module.mk7
-rw-r--r--src/misc/options.c (renamed from src/options/options.c)0
-rw-r--r--src/options/module.mk1
-rw-r--r--src/oving/module.mk2
-rw-r--r--src/oving/oving1.c (renamed from src/oving1/oving1.c)0
-rw-r--r--src/oving1/module.mk1
7 files changed, 8 insertions, 7 deletions
diff --git a/src/Makefile b/src/Makefile
index 6e17cdf..e90e4cb 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,8 +1,8 @@
CC=gcc
OUTPUT_OPTION=-MMD -MP -o [email protected]
-CFLAGS += -Wall -Ofast --std=c99 -Wvla -I../include
-MODULES := misc options oving1
+CFLAGS += -Wall -O2 --std=c99 -Wvla -I../include
+MODULES := misc oving
CFLAGS += $(patsubst %,-I%,$(MODULES))
LIBS :=
diff --git a/src/misc/module.mk b/src/misc/module.mk
index d92b7f1..6bc1a20 100644
--- a/src/misc/module.mk
+++ b/src/misc/module.mk
@@ -1,3 +1,4 @@
-SRC += misc/list.c \
- misc/io.c \
- misc/misc.c
+SRC += misc/list.c
+SRC += misc/io.c
+SRC += misc/misc.c
+SRC += misc/options.c
diff --git a/src/options/options.c b/src/misc/options.c
index 49cf068..49cf068 100644
--- a/src/options/options.c
+++ b/src/misc/options.c
diff --git a/src/options/module.mk b/src/options/module.mk
deleted file mode 100644
index 1dc06eb..0000000
--- a/src/options/module.mk
+++ /dev/null
@@ -1 +0,0 @@
-SRC += options/options.c
diff --git a/src/oving/module.mk b/src/oving/module.mk
new file mode 100644
index 0000000..8d4fa0b
--- /dev/null
+++ b/src/oving/module.mk
@@ -0,0 +1,2 @@
+SRC += oving/oving1.c
+# SRC += oving/oving2.c
diff --git a/src/oving1/oving1.c b/src/oving/oving1.c
index 7aa3ae9..7aa3ae9 100644
--- a/src/oving1/oving1.c
+++ b/src/oving/oving1.c
diff --git a/src/oving1/module.mk b/src/oving1/module.mk
deleted file mode 100644
index c6a795d..0000000
--- a/src/oving1/module.mk
+++ /dev/null
@@ -1 +0,0 @@
-SRC += oving1/oving1.c