2008-06-28 15:32:44 -07:00
|
|
|
ifeq ($(MAKELEVEL),0)
|
|
|
|
include $(top_srcdir)/makerules/configure.mk
|
|
|
|
endif
|
|
|
|
|
|
|
|
RM_CPPFLAGS:=-I$(top_srcdir)
|
|
|
|
|
2008-06-28 15:32:14 -07:00
|
|
|
%.o: %.rc
|
2008-07-06 07:28:50 -07:00
|
|
|
$(WINDRES) $(RM_CPPFLAGS) $(CPPFLAGS) -o $(subst /,\\,$@) $(subst /,\\,$<)
|
2006-08-04 07:59:36 -07:00
|
|
|
|
2008-06-28 15:32:14 -07:00
|
|
|
%.o: %.c
|
2008-07-06 07:28:50 -07:00
|
|
|
$(CC) $(RM_CPPFLAGS) $(CPPFLAGS) $(CFLAGS) -c -o $(subst /,\\,$@) $(subst /,\\,$<)
|
2007-06-28 10:47:08 -07:00
|
|
|
|
2008-06-28 15:32:14 -07:00
|
|
|
%.o: %.cpp
|
2008-07-06 07:28:50 -07:00
|
|
|
$(CXX) $(RM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c -o $(subst /,\\,$@) $(subst /,\\,$<)
|
2007-11-04 18:29:46 -08:00
|
|
|
|
2008-06-28 15:32:14 -07:00
|
|
|
%.lex.h %.lex.c: %.l
|
2008-07-10 02:35:10 -07:00
|
|
|
$(FLEX) $(FLEXFLAGS) -o$(subst /,\\,$@) $(subst /,\\,$<)
|
2007-06-28 10:47:08 -07:00
|
|
|
|
2008-06-28 15:32:14 -07:00
|
|
|
%.tab.h %.tab.c: %.y
|
2008-07-06 07:28:50 -07:00
|
|
|
$(BISON) -d $(BISONFLAGS) -o $(subst /,\\,$@) $(subst /,\\,$<)
|