projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b4f19d
)
Honor external CCFLAGS and LDFLAGS
author
Rémi Verschelde
<rverschelde@gmail.com>
Sun, 4 Jun 2017 09:03:41 +0000
(11:03 +0200)
committer
Eric S. Raymond
<esr@thyrsus.com>
Sun, 4 Jun 2017 09:50:39 +0000
(
05:50
-0400)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 848a676a59a92780521681ffc0e833d187cc163b..291efd2a6f282d32b113c05a1584cb00dce6057e 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,7
+1,7
@@
# Makefile for the open-source release of adventure 2.5
CC?=gcc
-CCFLAGS=-std=c99
+CCFLAGS
+
=-std=c99
LIBS=
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
@@
-16,7
+16,7
@@
SOURCES=$(OBJS:.o=.c) compile.c advent.h database.h funcs.h adventure.text $(DOC
$(CC) $(CCFLAGS) $(DBX) -c $<
advent: $(OBJS) database.o
- $(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) $(LIBS)
+ $(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) $(L
DFLAGS) $(L
IBS)
main.o: advent.h funcs.h database.h