aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjozan <jozan@noemail.net>2020-11-02 19:51:06 +0000
committerjozan <jozan@noemail.net>2020-11-02 19:51:06 +0000
commit11bac28c2ad21009cf5170e5fbc09a2578dbbdd2 (patch)
tree070508cb1ee26d3ddffb131018cd3001adb896a3
parentinitial empty check-in (diff)
downloadunixize-11bac28c2ad21009cf5170e5fbc09a2578dbbdd2.tar.gz
unixize-11bac28c2ad21009cf5170e5fbc09a2578dbbdd2.tar.bz2
unixize-11bac28c2ad21009cf5170e5fbc09a2578dbbdd2.tar.xz
unixize-11bac28c2ad21009cf5170e5fbc09a2578dbbdd2.tar.zst
unixize-11bac28c2ad21009cf5170e5fbc09a2578dbbdd2.zip
First commit
FossilOrigin-Name: 1962365689fbebb54f6d6ead6490c2c8e73682b7ea7e65ca49d94b619b191b7f
-rw-r--r--.fossil-settings/ignore-glob3
-rw-r--r--LICENSE29
-rw-r--r--Makefile41
-rw-r--r--README0
-rw-r--r--README.org0
5 files changed, 73 insertions, 0 deletions
diff --git a/.fossil-settings/ignore-glob b/.fossil-settings/ignore-glob
new file mode 100644
index 0000000..8543b43
--- /dev/null
+++ b/.fossil-settings/ignore-glob
@@ -0,0 +1,3 @@
+obj
+unixize
+git.sh
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..70f30ee
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,29 @@
+BSD 3-Clause License
+
+Copyright (c) 2020, Joe
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..9bd96d5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,41 @@
+################################################################################
+#* ===== ===============*#
+#* File : Makefile ====== ================*#
+#* Author : Joe ====== ================*#
+#* Date : 2020-11-02 ====== ==== ==== ==*#
+#* Info : GNU Makefile ====== === == = =*#
+#* ====== === = == =*#
+#* = === === = == ====*#
+#* = === === = == = =*#
+#* == ===== ==== ==*#
+################################################################################
+
+default: msan
+
+SHELL := /bin/sh
+
+DESTDIR = /usr/local
+SRCS_DIR = src/
+OBJS_DIR = obj/
+
+CC = cc
+CFLAGS = -std=c89
+CFLAGS += -Wall
+CFLAGS += -Wextra
+CFLAGS += -Werror
+CFLAGS += -pedantic
+
+RM = rm -f
+MKDIR = mkdir -p
+
+SRCS_NAME = c_unixize
+
+SRCS = $(addprefix ${SRCS_DIR}, $(addsuffix .c, ${SRCS_NAME}))
+INCS = $(addprefix ${SRCS_DIR}, $(addsuffix .h, ${SRCS_NAME}))
+OBJS = $(patsubst ${SRCS_DIR}%.c, ${OBJS_DIR}%.c.o, ${SRCS})
+
+TARGET = unixize
+
+clean:
+ ${RM} ${OBJS_DIR}
+ ${RM} ${TARGET}
diff --git a/README b/README
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/README
diff --git a/README.org b/README.org
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/README.org