summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <>2022-05-02 20:30:31 +0000
committerJozanLeClerc <>2022-05-02 20:30:31 +0000
commite30e8782c22f502e3f3cfd51caf5d09825632557 (patch)
tree5aae4c40ba87b9421da649044a6918c81779f902 /Makefile
parentinitial empty check-in (diff)
downloadasm-cgi-example-e30e8782c22f502e3f3cfd51caf5d09825632557.tar.gz
asm-cgi-example-e30e8782c22f502e3f3cfd51caf5d09825632557.tar.bz2
asm-cgi-example-e30e8782c22f502e3f3cfd51caf5d09825632557.tar.xz
asm-cgi-example-e30e8782c22f502e3f3cfd51caf5d09825632557.tar.zst
asm-cgi-example-e30e8782c22f502e3f3cfd51caf5d09825632557.zip
First commit
FossilOrigin-Name: f88106ab9e699f46f59559cb6206efbc7b99857e
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..baaebf5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,57 @@
+# ========================
+# ===== ===============
+# ====== ================
+# ====== ================
+# ====== ==== ==== ==
+# ====== === == = =
+# ====== === = == =
+# = === === = == ====
+# = === === = == = =
+# == ===== ==== ==
+# ========================
+#
+# asm-cgi-example: Makefile
+# Mon May 2 21:45:54 CEST 2022
+# Joe
+#
+# BSD Makefile
+
+default: all
+
+SRCS_DIR := src
+
+SRCS := ${SRCS_DIR}/c_example.S
+
+OBJS := ${SRCS:.S=.S.o}
+
+LDFLAGS := -lc
+
+TARGET := asm-example.cgi
+
+SHELL := /bin/sh
+RM := rm -f
+MKDIR := mkdir -p
+MV := mv
+SED := sed
+INSTALL := install
+
+.SUFFIXES: .S .c .S.o .c.o
+
+.S.S.o:
+ ${AS} -o ${.TARGET} ${.IMPSRC}
+
+${TARGET}: ${OBJS}
+ ${CC} ${CFLAGS} -o ${.TARGET} ${OBJS} ${LDFLAGS}
+
+all: ${TARGET}
+
+clean:
+ ${RM} ${OBJS} ${OBJS} ${TARGET}.core ${TARGET}
+
+re: clean all
+
+.PHONY: all clean re
+
+# Files prefixes
+# --------------
+# c: core