# --- Copyright University of Sussex 1996. All rights reserved. ----------
# File:				C.windows/src/makefile
# Purpose:			Makefile for compiling w-files, etc. in POPSRC
# Author:			Robert John Duncan, Jul  5 1994 (see revisions)

!INCLUDE ..\pop\poplog.mak
POPEXTERNLIB=..\extern\lib

# Make newpop11 from w-files in this directory

newpop11 :
	$(POPLINK) $(POPLINK_FLAGS) $(POPLINK_POPLOG_FLAGS) \
		-o newpop11.exe -ident 0 *.w \
		-lo $(POPEXTERNLIB)\popmain.lib

# Make newpop11 using poplink_cmnd (for porting)

port : asm
	@$(MAKE) -c -f poplink_cmnd

# Assemble .a files (for porting)

asm : *.a
	@$(MAKE) -c @<<
$(**:.a=.o)
<<

# --- Revision History ---------------------------------------------------
# --- Robert John Duncan, Feb 12 1996
#		Removed rules for making w-library; now done by MAKE in $popobjlib
# --- Robert John Duncan, Jan  8 1996
#		Added port target and changed link commands to include -ident
