From ff7d5861ae846cc22761ebeea89ca709e3140b87 Mon Sep 17 00:00:00 2001 From: JozanLeClerc <> Date: Wed, 4 May 2022 20:13:30 +0000 Subject: In progress FossilOrigin-Name: 99bf5897fcdaba936a96a5f95e2bf10236152ea3 --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index baaebf5..ab1a625 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ default: all SRCS_DIR := src +INSTALL_DIR := /usr/local/www/jozan SRCS := ${SRCS_DIR}/c_example.S @@ -31,6 +32,7 @@ TARGET := asm-example.cgi SHELL := /bin/sh RM := rm -f MKDIR := mkdir -p +CP := cp MV := mv SED := sed INSTALL := install @@ -38,7 +40,7 @@ INSTALL := install .SUFFIXES: .S .c .S.o .c.o .S.S.o: - ${AS} -o ${.TARGET} ${.IMPSRC} + ${AS} -g -o ${.TARGET} ${.IMPSRC} ${TARGET}: ${OBJS} ${CC} ${CFLAGS} -o ${.TARGET} ${OBJS} ${LDFLAGS} @@ -50,7 +52,10 @@ clean: re: clean all -.PHONY: all clean re +install: + ${CP} ${TARGET} ${INSTALL_DIR} + +.PHONY: all clean re install # Files prefixes # -------------- -- cgit v1.2.3