forked from KolibriOS/kolibrios
728d0ab126
- Added example program - Delete trash files - Added libc.obj loader (will be removed from ktcc) git-svn-id: svn://kolibrios.org@8625 a494cfbc-eb01-0410-851d-a64ba20cac60
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
|