/[osn-commons]/trunk/plibc/x86_64/Makefile
ViewVC logotype

Annotation of /trunk/plibc/x86_64/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 47 - (hide annotations)
Thu Aug 15 18:10:51 2024 UTC (8 months ago) by rakinar2
File size: 304 byte(s)
feat: add plibc to the project
1 rakinar2 47 ARCH = x86_64
2     SOURCES = $(wildcard *.s)
3     OBJECTS = $(SOURCES:.s=.o)
4     LIB = lib$(ARCH).a
5    
6     all: $(ARCH)
7    
8     $(ARCH): $(OBJECTS)
9    
10     %.o: %.s
11     @echo " AS $@"
12     @$(AS) $(ASFLAGS) -o $@ $<
13    
14     clean:
15     @echo " RM $(LIB)"
16     @$(RM) $(LIB)
17    
18     @for file in *.o; do \
19     echo " RM $$file"; \
20     $(RM) $$file; \
21     done

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26