Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
5601bcad
Commit
5601bcad
authored
Oct 16, 2002
by
Josh Coalson
Browse files
add rules for .cpp files
parent
6afed9fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
build/exe.mk
View file @
5601bcad
...
...
@@ -57,10 +57,14 @@ $(PROGRAM) : $(OBJS)
$(CC)
$(CFLAGS)
-c
$<
-o
$@
%.o
:
%.cc
$(CCC)
$(CFLAGS)
-c
$<
-o
$@
%.o
:
%.cpp
$(CCC)
$(CFLAGS)
-c
$<
-o
$@
%.i
:
%.c
$(CC)
$(CFLAGS)
-E
$<
-o
$@
%.i
:
%.cc
$(CCC)
$(CFLAGS)
-E
$<
-o
$@
%.i
:
%.cpp
$(CCC)
$(CFLAGS)
-E
$<
-o
$@
%.o
:
%.nasm
$(NASM)
-f
elf
-d
OBJ_FORMAT_elf
-i
ia32/
$<
-o
$@
...
...
@@ -71,4 +75,4 @@ clean :
.PHONY
:
depend
depend
:
makedepend
-fMakefile
.lite
--
$(CFLAGS)
$(INCLUDES)
--
*
.c
*
.cc
makedepend
-fMakefile
.lite
--
$(CFLAGS)
$(INCLUDES)
--
*
.c
*
.cc
*
.cpp
build/lib.mk
View file @
5601bcad
...
...
@@ -70,10 +70,14 @@ endif
$(CC)
$(CFLAGS)
-c
$<
-o
$@
%.o
:
%.cc
$(CCC)
$(CFLAGS)
-c
$<
-o
$@
%.o
:
%.cpp
$(CCC)
$(CFLAGS)
-c
$<
-o
$@
%.i
:
%.c
$(CC)
$(CFLAGS)
-E
$<
-o
$@
%.i
:
%.cc
$(CCC)
$(CFLAGS)
-E
$<
-o
$@
%.i
:
%.cpp
$(CCC)
$(CFLAGS)
-E
$<
-o
$@
%.o
:
%.nasm
$(NASM)
-f
elf
-d
OBJ_FORMAT_elf
-i
ia32/
$<
-o
$@
...
...
@@ -84,4 +88,4 @@ clean :
.PHONY
:
depend
depend
:
makedepend
-fMakefile
.lite
--
$(CFLAGS)
$(INCLUDES)
--
*
.c
*
.cc
makedepend
-fMakefile
.lite
--
$(CFLAGS)
$(INCLUDES)
--
*
.c
*
.cc
*
.cpp
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment