# ======================== # ===== =============== # ====== ================ # ====== ================ # ====== ==== ==== == # ====== === == = = # ====== === = == = # = === === = == ==== # = === === = == = = # == ===== ==== == # ======================== # # 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