From a798ec1a8607c76c36aba241cd776f4bbba9315c Mon Sep 17 00:00:00 2001 From: Emanuele Aliberti Date: Wed, 1 Aug 2001 17:40:02 +0000 Subject: [PATCH] I added a rule for .cpp source files. svn path=/trunk/; revision=2132 --- reactos/rules.mak | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/rules.mak b/reactos/rules.mak index b9a23b81511..ab72fdb797e 100644 --- a/reactos/rules.mak +++ b/reactos/rules.mak @@ -6,7 +6,7 @@ HOST = mingw32-windows # uncomment if you use bochs and it displays only 30 rows -# BOCHS_30ROWS = yes +#BOCHS_30ROWS = yes ifeq ($(HOST),mingw32-linux) TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) @@ -73,6 +73,8 @@ RC = $(PREFIX)windres RCINC = --include-dir $(PATH_TO_TOP)/include OBJCOPY = $(PREFIX)objcopy +%.o: %.cpp + $(CC) $(CFLAGS) -c $< -o $@ %.o: %.cc $(CC) $(CFLAGS) -c $< -o $@ %.o: %.c