diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 # -------------- |