mirror of
https://github.com/reactos/reactos.git
synced 2025-06-14 01:18:30 +00:00
I added a rule for .cpp source files.
svn path=/trunk/; revision=2132
This commit is contained in:
parent
130bddfe9f
commit
a798ec1a86
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
HOST = mingw32-windows
|
HOST = mingw32-windows
|
||||||
|
|
||||||
# uncomment if you use bochs and it displays only 30 rows
|
# uncomment if you use bochs and it displays only 30 rows
|
||||||
# BOCHS_30ROWS = yes
|
#BOCHS_30ROWS = yes
|
||||||
|
|
||||||
ifeq ($(HOST),mingw32-linux)
|
ifeq ($(HOST),mingw32-linux)
|
||||||
TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
|
TOPDIR := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
|
||||||
|
@ -73,6 +73,8 @@ RC = $(PREFIX)windres
|
||||||
RCINC = --include-dir $(PATH_TO_TOP)/include
|
RCINC = --include-dir $(PATH_TO_TOP)/include
|
||||||
OBJCOPY = $(PREFIX)objcopy
|
OBJCOPY = $(PREFIX)objcopy
|
||||||
|
|
||||||
|
%.o: %.cpp
|
||||||
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
%.o: %.cc
|
%.o: %.cc
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue