forked from KolibriOS/kolibrios
18 lines
221 B
Makefile
18 lines
221 B
Makefile
|
FASM = fasm
|
||
|
MKLIB = ../linuxtools/mklib
|
||
|
|
||
|
SRCS=$(wildcard *.asm)
|
||
|
OBJS=$(SRCS:.asm=.o)
|
||
|
|
||
|
%.o : %.asm
|
||
|
$(FASM) $<
|
||
|
|
||
|
all: asm_gen $(OBJS)
|
||
|
ar -rsc ../lib/libc.obj.a *.o
|
||
|
|
||
|
asm_gen:
|
||
|
cat symbols.txt | $(MKLIB)
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o
|