mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 20:32:35 +03:00
4f5f25a6c2
git-svn-id: svn://kolibrios.org@1882 a494cfbc-eb01-0410-851d-a64ba20cac60
29 lines
464 B
Plaintext
Executable File
29 lines
464 B
Plaintext
Executable File
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)
|