Cleanup
[tpg/acess2.git] / Usermode / Libraries / libacess.so_src / Makefile
1 #
2 #
3 #
4
5 -include ../../../Makefile.cfg
6
7 ASFLAGS = -felf
8 LDFLAGS = -nostdlib -shared -I/Acess/Libs/ld-acess.so -e SoMain
9
10 OBJ = core.ao vfs.ao mm.ao
11 BIN = ../libacess.so
12
13 .PHONY: all clean
14
15 all: $(BIN)
16
17 clean:
18         $(RM) $(BIN) $(OBJ)
19
20 $(BIN): $(OBJ)
21         @echo --- $(LD) -shared -o $@
22         @$(LD) $(LDFLAGS) -o $(BIN) $(OBJ)
23         $(STRIP) $(BIN)
24         cp $(BIN) $(DISTROOT)/Libs
25         
26 %.ao: %.asm syscalls.inc.asm
27         @echo $(AS) -o $@
28         @$(AS) $(ASFLAGS) -o $@ $<

UCC git Repository :: git.ucc.asn.au