Subversion Repositories Spectranet

Compare Revisions

Rev 399 → Rev 483

/libspectranet/Makefile
27,5 → 27,10
 
basext: $(BASOBJS)
$(CC) $(CFLAGS) -o $(BASOUT) $(BASOBJS) $(CLIBS)
install:
$(CP) *.lib $(Z80_OZFILES)/clibs
$(CP) -r ./include $(Z80_OZFILES)/../
 
include ../make.inc
/make.inc
5,6 → 5,7
RM = rm -f
LIBLDFLAGS = -d -ns -nm -Mo
ASMFLAGS = -d -ns -nm -Mo
CP = cp
 
.PHONY: clean
 
/libhttp/Makefile
8,4 → 8,8
all: $(COBJS)
$(LIBLINKER) $(LIBLDFLAGS) -x$(LIBNAME) $(COBJS)
 
install:
$(CP) *.lib $(Z80_OZFILES)/clibs
$(CP) -r ./include $(Z80_OZFILES)/../
 
include ../make.inc
/socklib/Makefile
28,5 → 28,9
 
nptest: $(NPCOBJS)
$(CC) $(CFLAGS) -o $(NPTESTOUT) $(NPCOBJS) $(NPCLIBS)
install:
$(CP) *.lib $(Z80_OZFILES)/clibs
$(CP) -r ./include $(Z80_OZFILES)/../
 
include ../make.inc
/Makefile
1,7 → 1,11
SUBDIRS = libspectranet socklib libhttp
INSTALLDIRS = $(SUBDIRS:%=install-%)
 
.PHONY: subdirs $(SUBDIRS)
 
.PHONY: subdirs $(INSTALLDIRS)
.PHONY: install
 
.PHONY: clean
 
subdirs: $(SUBDIRS)
8,6 → 12,10
 
$(SUBDIRS):
$(MAKE) -C $@
install: $(INSTALLDIRS)
$(INSTALLDIRS):
$(MAKE) -C $(@:install-%=%) install
 
clean:
for dir in $(SUBDIRS); do \