--- /dev/null
+#******************************************************************************
+# @file Makefile.bsd
+#******************************************************************************
+SRCDIR ?= $(CURDIR)
+VPATH := $(SRCDIR)
+
+CC := gcc
+CFLAGS := -D_FILE_OFFSET_BITS=64 -O2 -Wall -Werror -Wextra -ansi -pedantic -std=c90
+
+CSRC := cstr.c hashtab.c lib.c read.c report.c rule.c variable.c xmake.c
+
+all: xmake
+
+clean:
+
+ if [ -f xmake ]; then rm -rf xmake; fi
+ if [ -f xmake.exe ]; then rm -rf xmake.exe; fi
+
+xmake: $(CSRC)
+ $(CC) $(CFLAGS) -o $@ $^