Mercurial > hg > audiodb
changeset 368:6fd52a9a1490 gcc-4.3-cleanups
Only compile cmdline.c once
(Also, compile it without -Wall, because we can't in fact force
gengetopt to produce const-correct code at all).
author | mas01cr |
---|---|
date | Wed, 12 Nov 2008 15:23:31 +0000 |
parents | 3b6cd1dfbddb |
children | 6564be3109c5 |
files | Makefile |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Nov 12 15:23:30 2008 +0000 +++ b/Makefile Wed Nov 12 15:23:31 2008 +0000 @@ -50,12 +50,12 @@ gcc -c $(CFLAGS) $< -$(EXECUTABLE): cmdline.c $(OBJS) soapServer.cpp soapClient.cpp soapC.cpp +$(EXECUTABLE): cmdline.o $(OBJS) soapServer.cpp soapClient.cpp soapC.cpp g++ -c $(CFLAGS) $(GSOAP_INCLUDE) -Wall audioDB.cpp -DBINARY g++ -o $(EXECUTABLE) $(CFLAGS) audioDB.o $^ $(LIBGSL) $(GSOAP_INCLUDE) $(GSOAP_CPP) -$(LIBRARY): cmdline.c $(LIBOBJS) +$(LIBRARY): cmdline.o $(LIBOBJS) g++ -c $(CFLAGS) -Wall audioDB.cpp g++ -shared -o $(LIBRARY) $(CFLAGS) $(LIBGSL) audioDB.o $^