comparison level2/coco3/sys/makefile @ 2828:999159b0e7c0 lwtools-port

retooled port makefiles
author boisy
date Sun, 26 May 2013 15:39:03 -0500
parents 09c66281e12a
children 41a6f70d842d
comparison
equal deleted inserted replaced
2827:dfb70510fa44 2828:999159b0e7c0
1 PORT = coco3 1 include ../port.mak
2 include $(NITROS9DIR)/rules.mak
3 TELNET_PORT = 6806
4 2
5 vpath %.hp $(LEVEL2)/sys:$(LEVEL1)/sys 3 vpath %.hp $(LEVEL2)/sys:$(LEVEL1)/sys
6 vpath %.asm $(LEVEL2)/sys 4 vpath %.asm $(LEVEL2)/sys
7 5
8 DEPENDS = ./makefile 6 DEPENDS = ./makefile
48 46
49 $(L1TXTFILES): $(LEVEL1)/sys/$@ 47 $(L1TXTFILES): $(LEVEL1)/sys/$@
50 -$(SOFTLINK) $(LEVEL1)/sys/$@ 48 -$(SOFTLINK) $(LEVEL1)/sys/$@
51 49
52 inetd.conf: $(LEVEL1)/sys/inetd.conf 50 inetd.conf: $(LEVEL1)/sys/inetd.conf
53 @sed 's/%TELNET_PORT%/$(TELNET_PORT)/' $^ > $@ 51 @sed -e 's/%TELNET_PORT%/$(TELNET_PORT)/' -e 's/%HTTPD_PORT%/$(HTTPD_PORT)/' $^ > $@
54 52
55 clean: 53 clean:
56 $(RM) $(HELPMSG) $(L1TXTFILES) $(BINFILES) inetd.conf 54 $(RM) $(HELPMSG) $(L1TXTFILES) $(BINFILES) inetd.conf
57 55
58 showbinobjs: 56 showbinobjs: