Statistics
| Revision:

root / trunk / src / nh99 / Makefile @ 907

History | View | Annotate | Download (390 Bytes)

1
include objects.lst
2

    
3
all: $(addprefix $(PREFIX_OBJ), $(OBJ0) $(OBJSPLUS))
4

    
5
$(PREFIX_OBJ)%.obj:%.cpp
6
	$(CXX) /c $(CXXFLAGS) /Fo$@ $<
7

    
8
bins: $(DESTDIR)\bin\tpl2cpp.exe
9

    
10
$(DESTDIR)\bin\tpl2cpp.exe: tpl2cpp.c
11
	$(CC) /nologo /TC /Fe$@ tpl2cpp.c
12

    
13
tpl2cpp.c: tpl2cpp.lex
14
	..\..\utilities\flex tpl2cpp.lex
15
	..\..\utilities\sed -f sedflex lex.yy.c > tpl2cpp.c
16

    
17
clean:
18
	del lex.yy.c
19
	del tpl2cpp.obj