Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | include $(MENUETDEV)/osrules.mak |
2 | OUTFILE = libmcoff.a |
||
3 | OBJS = loadcoff.o section.o symtab.o relocate.o debug.o |
||
4 | CFLAGS = -O2 -fomit-frame-pointer -fno-common -DMCOFF_MENUETOS=1 |
||
5 | |||
6 | _all: $(OUTFILE) |
||
7 | ifdef ON_MINGW |
||
8 | del $(MENUETDEV)\lib\$(OUTFILE) |
||
9 | copy $(OUTFILE) $(MENUETDEV)\lib |
||
10 | copy *.h $(MENUETDEV)\include\mcoff |
||
11 | else |
||
12 | rm -f $(MENUETDEV)/lib/$(OUTFILE) |
||
13 | cp $(OUTFILE) $(MENUETDEV)/lib |
||
14 | cp *.h $(MENUETDEV)/include/mcoff |
||
15 | endif |
||
16 | |||
17 | include $(MENUETDEV)/makefiles/Makefile_for_lib |