[Pkg-wmaker-commits] [wmfrog] 02/03: Use CPPFLAGS and CFLAGS when compiling and LDFLAGS when linking.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch upstream
in repository wmfrog.
commit 48ac565af5ea9d1fe73f05a39b6bccbb42b34491
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Thu Jan 1 10:01:10 2015 -0600
Use CPPFLAGS and CFLAGS when compiling and LDFLAGS when linking.
---
wmfrog/Src/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wmfrog/Src/Makefile b/wmfrog/Src/Makefile
index a3bc1f9..f46bb13 100644
--- a/wmfrog/Src/Makefile
+++ b/wmfrog/Src/Makefile
@@ -13,14 +13,14 @@ OBJS = wmfrog.o \
.c.o:
- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+ $(CC) $(CPPFLAGS) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
all: wmfrog.o wmfrog
wmfrog.o: frog.xpm frog.xbm
wmfrog: $(OBJS)
- $(CC) $(CFLAGS) $(SYSTEM) -o wmfrog $^ $(INCDIR) $(LIBDIR) $(LIBS)
+ $(CC) $(LDFLAGS) $(SYSTEM) -o wmfrog $^ $(INCDIR) $(LIBDIR) $(LIBS)
install:
mkdir -p "$(DESTDIR)$(PREFIX)/bin"
mkdir -p "$(DESTDIR)$(PREFIX)/lib/wmfrog"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfrog.git
More information about the Pkg-wmaker-commits
mailing list