summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <>2022-05-22 16:30:43 +0000
committerJozanLeClerc <>2022-05-22 16:30:43 +0000
commit6c0655e7dfd83b726eeec71ecb72e29f5ef0a8d4 (patch)
treeb5b6815fba5abfb0cfab8c9c25c1d297f048e8d2 /Makefile
parentUpdate (diff)
downloadasm-cgi-example-6c0655e7dfd83b726eeec71ecb72e29f5ef0a8d4.tar.gz
asm-cgi-example-6c0655e7dfd83b726eeec71ecb72e29f5ef0a8d4.tar.bz2
asm-cgi-example-6c0655e7dfd83b726eeec71ecb72e29f5ef0a8d4.tar.xz
asm-cgi-example-6c0655e7dfd83b726eeec71ecb72e29f5ef0a8d4.tar.zst
asm-cgi-example-6c0655e7dfd83b726eeec71ecb72e29f5ef0a8d4.zip
WIP
FossilOrigin-Name: 50c6fcb1c1758fb6252c48df702f81c626389bcc
Diffstat (limited to '')
-rw-r--r--Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 06b253b..a92d141 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@
# ========================
#
# asm-cgi-example: Makefile
-# Sun May 22 16:55:43 CEST 2022
+# Sun May 22 18:12:41 CEST 2022
# Joe
#
# BSD Makefile
@@ -23,11 +23,11 @@ INSTALL_DIR := /usr/local/www/jozan
SRCS := ${SRCS_DIR}/c_cpu.S
SRCS += ${SRCS_DIR}/c_example.S
+SRCS += ${SRCS_DIR}/c_infos.S
+SRCS += ${SRCS_DIR}/u_utils.S
OBJS := ${SRCS:.S=.S.o}
-LDFLAGS := -lc
-
TARGET := asm-example.cgi
SHELL := /bin/sh
@@ -44,23 +44,22 @@ INSTALL := install
${AS} -g -o ${.TARGET} ${.IMPSRC}
${TARGET}: ${OBJS}
- ${CC} ${CFLAGS} -o ${.TARGET} ${OBJS} ${LDFLAGS}
+ ${CC} ${CFLAGS} -o ${.TARGET} ${OBJS}
all: ${TARGET}
clean:
${RM} ${OBJS} ${OBJS} ${TARGET}.core ${TARGET}
-re: clean all
-
install:
${CP} ${TARGET} ${INSTALL_DIR}
run: ${TARGET}
./${TARGET}
-.PHONY: all clean re install run
+.PHONY: all clean install run
# Files prefixes
# --------------
# c: core
+# u: utils