mirror of
https://github.com/wfjm/w11.git
synced 2026-01-20 02:14:25 +00:00
44 lines
925 B
Makefile
44 lines
925 B
Makefile
# $Id: Makefile 1065 2018-11-04 11:32:06Z mueller $
|
|
#
|
|
# 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"
|