mirror of
https://github.com/wfjm/w11.git
synced 2026-02-01 14:42:47 +00:00
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# $Id: Makefile 1176 2019-06-30 07:16:06Z mueller $
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
# Copyright 2013-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
|
#
|
|
# Revision History:
|
|
# Date Rev Version Comment
|
|
# 2018-11-03 1065 1.1 sort file list
|
|
# 2013-03-22 496 1.0 Initial version
|
|
#---
|
|
#
|
|
MAC_all = $(sort $(wildcard *.mac))
|
|
LDA_all = $(MAC_all:.mac=.lda)
|
|
COF_all = $(MAC_all:.mac=.cof)
|
|
LST_all = $(MAC_all:.mac=.lst)
|
|
LDART_all = $(MAC_all:.mac=.ldart)
|
|
LSTRT_all = $(MAC_all:.mac=.lstrt)
|
|
#
|
|
include ${RETROBASE}/tools/make/generic_asm11.mk
|
|
#
|
|
.PHONY : def alllda allcof alllst allrt allexp clean cleanrt
|
|
#
|
|
def : alllda
|
|
#
|
|
alllda : $(LDA_all)
|
|
#
|
|
allcof : $(COF_all)
|
|
#
|
|
alllst : $(LST_all)
|
|
#
|
|
allrt : $(LSTRT_all)
|
|
#
|
|
allexp : $(LST_all)
|
|
@ asm-11_expect $^
|
|
#
|
|
clean :
|
|
@ rm -f $(LDA_all)
|
|
@ echo "Object files removed"
|
|
@ rm -f $(COF_all)
|
|
@ echo "Compound files removed"
|
|
@ rm -f $(LST_all)
|
|
@ echo "Listing files removed"
|
|
|
|
cleanrt :
|
|
@ rm -f $(LDART_all) $(LSTRT_all)
|
|
@ echo "RT-11 generated files removed"
|