forked from KolibriOS/kolibrios
95e70a7b8c
- Added makefile - Added mklib tools - Fixed build git-svn-id: svn://kolibrios.org@8621 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
251 B
Makefile
19 lines
251 B
Makefile
FASM = fasm
|
|
MKLIB = ./tools/mklib
|
|
|
|
SRCS=$(wildcard *.asm)
|
|
OBJS=$(SRCS:.asm=.o)
|
|
|
|
%.o : %.asm
|
|
$(FASM) $<
|
|
|
|
all: asm_gen $(OBJS)
|
|
ar -rsc ../../bin/lib/libc.obj.a *.o
|
|
|
|
asm_gen:
|
|
cat symbols.txt | $(MKLIB)
|
|
|
|
clean:
|
|
rm ../../bin/lib/libc.obj.a
|
|
rm -f *.o
|