lower case please
[reactos.git] / reactos / tools / buildno / Makefile
1 BUILDNO_BASE = tools$(SEP)buildno
2
3 BUILDNO_TARGET = \
4 $(ROS_INTERMEDIATE)$(BUILDNO_BASE)$(SEP)buildno$(EXEPOSTFIX)
5
6 BUILDNO_SOURCES = \
7 $(BUILDNO_BASE)$(SEP)buildno.cpp \
8 $(BUILDNO_BASE)$(SEP)exception.cpp \
9 $(BUILDNO_BASE)$(SEP)ssprintf.cpp \
10 $(BUILDNO_BASE)$(SEP)XML.cpp
11
12 BUILDNO_OBJECTS = \
13 $(BUILDNO_SOURCES:.cpp=.o)
14
15 BUILDNO_HOST_CFLAGS = -Iinclude/reactos -g -Werror -Wall
16
17 BUILDNO_HOST_LFLAGS = -g
18
19 $(BUILDNO_TARGET): $(BUILDNO_OBJECTS)
20 ${host_gpp} $(BUILDNO_OBJECTS) $(BUILDNO_HOST_CFLAGS) -o $(BUILDNO_TARGET)
21
22 $(BUILDNO_OBJECTS): %.o : %.cpp include$(SEP)reactos$(SEP)version.h
23 ${host_gpp} $(BUILDNO_HOST_CFLAGS) -c $< -o $@
24
25 .PHONY: buildno_clean
26 buildno_clean:
27 -@$(rm) $(BUILDNO_TARGET) $(BUILDNO_OBJECTS) 2>$(NUL)
28
29 BUILDNO_H = include$(SEP)reactos$(SEP)buildno.h
30
31 $(BUILDNO_H): $(BUILDNO_TARGET)
32 $(EXEPREFIX)$(BUILDNO_TARGET) $(BUILDNO_H)