Subversion Repositories Kolibri OS

Rev

Rev 4973 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
include $(MENUETDEV)/osrules.mak
2
 
3
.SUFFIXES: .asm;
4
 
5
$(OUTFILE): $(OBJS)
5145 clevermous 6
	kos32-ld -r -o $(OUTFILE) $(OBJS) $(LDFLAGS)
4973 right-hear 7
 
8
.c.o:
5145 clevermous 9
	$(MGCC) $*.c -o $*.o $(CFLAGS)
4973 right-hear 10
 
11
.cpp.o:
5145 clevermous 12
	$(MGPP) $*.cpp -o $*.o $(CPPFLAGS)
4973 right-hear 13
 
14
.cc.o:
5145 clevermous 15
	$(MGPP) $*.cc -o $*.o $(CPPFLAGS)
4973 right-hear 16
 
17
.asm.o:
18
	nasm $*.asm -f $(ASMFMT) -o $*.o
19
 
20
.s.o:
5145 clevermous 21
	kos32-cpp $*.s -o $*.asm -nostdinc -I$(MENUETDEV)/include
22
	kos32-as $*.asm -o $*.o
4973 right-hear 23
	$(RM) $*.asm
24
 
25
clean:
26
	$(RM) $(OBJS) $(OUTFILE)
27
 
28
rebuild: clean $(OUTFILE)