view 3rdparty/packages/cc/makefile @ 896:27d3f3045208

os9copy now does end of line translation
author boisy
date Fri, 17 Jan 2003 20:52:28 +0000
parents 7ec334df8265
children ea69ed12af12
line wrap: on
line source

include ../../../Makefile.rules

DISK		= cc.dsk
CMDS		= cc1 c.prep c.pass1 c.pass2 c.opt c.asm c.link

ALLOBJS		= $(CMDS)

# Make all components
all:	$(ALLOBJS)
	@$(ECHO) "*********************************************"
	@$(ECHO) "*                                           *"
	@$(ECHO) "*                 C Compiler                *"
	@$(ECHO) "*                                           *"
	@$(ECHO) "*********************************************"
	$(CHMOD) 755 $(CMDS)

# Clean all components
clean:	dskclean
	$(RM) $(ALLOBJS)

dsk:	all
	$(RM) $(DISK)
	$(OS9FORMAT) $(DISK) -t40 -h2 -n"C Compiler"
	$(MAKDIR) $(DISK),CMDS
	$(MAKDIR) $(DISK),LIB
	$(MAKDIR) $(DISK),DEFS
	$(MAKDIR) $(DISK),SOURCES
	$(MAKDIR) $(DISK),SOURCES/SYS
	$(CP) $(CMDS) $(DISK),CMDS
	$(CPL) DEFS/*.h $(DISK),DEFS
	$(CP) LIB/*.l LIB/*.r $(DISK),LIB
	$(CPL) SOURCES/*.c $(DISK),SOURCES
	$(CPL) SOURCES/*.a $(DISK),SOURCES/SYS

dskclean:
	-$(RM) $(DISK)