kolibrios-fun/programs/develop/libraries/menuetlibc/makefiles/Makefile_for_lib
right-hearted 6496d04506 Adding menuetlibc back to its place in /programs/develop/libraries
This version of menuetlibc was taken from revision 4743, right before I made any changes

git-svn-id: svn://kolibrios.org@4973 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-06-12 10:43:21 +00:00

29 lines
464 B
Plaintext

include $(MENUETDEV)/osrules.mak
.SUFFIXES: .asm;
$(OUTFILE): $(OBJS)
ar rcs $(OUTFILE) $(OBJS)
.c.o:
$(MGCC) $*.c $*.o $(CFLAGS) $(GCC32OPT)
.cpp.o:
$(MGPP) $*.cpp $*.o $(CPPFLAGS) $(GCC32OPT)
.cc.o:
$(MGPP) $*.cc $*.o $(CPPFLAGS) $(GCC32OPT)
.asm.o:
nasm $*.asm -f $(ASMFMT) -o $*.o
.s.o:
cpp $*.s -o $*.asm -nostdinc -I$(MENUETDEV)/include
as $*.asm $(AS32OPT) -o $*.o
$(RM) $*.asm
clean:
$(RM) $(OBJS) $(OUTFILE)
rebuild: clean $(OUTFILE)