Subversion Repositories Spectranet

[/] [branches/] [gnubinutils/] [modules/] [make.inc] - Blame information for rev 380

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 376 winston
AS = z80-unknown-coff-as
2
LD = z80-unknown-coff-ld
3
RM = rm
4
ASFLAGS = -I../../include
5
MAPFILE = $(OUT).map
6
LDFLAGS = -T ../modules.ld -Map $(MAPFILE)
7
 
8 380 winston
.PHONY: clean
9
 
10 376 winston
module: $(ASOBJS)
11
        $(LD) -o $(OUT) $(ASOBJS) $(LDFLAGS) $(LIBPATH) $(LIBS)
12
 
13
%.o : %.asm
14
        $(AS) $(ASFLAGS) $< -o $@
15
 
16
clean:
17 377 winston
        $(RM) -f *.o *.module *.bin *.map
18 376 winston