From: Marko Kreen Date: Wed, 15 Aug 2007 13:44:07 +0000 (+0000) Subject: hack targets: asm, pg X-Git-Tag: pgbouncer_1_1~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83dafd8c0d3d98f110c6001a55e6e65c3d4e4e37;p=pgbouncer hack targets: asm, pg --- diff --git a/Makefile b/Makefile index 404de94..0f9dcb0 100644 --- a/Makefile +++ b/Makefile @@ -126,5 +126,14 @@ check: config.mak pgbouncer.pg: $(CC) -pg $(DEFS) -g -O2 $(CPPFLAGS) $(LDFLAGS) -o $@ $(srcs) $(LIBS) + + pg: pgbouncer.pg +$(builddir)/lib/%.s: $(srcdir)/src/%.c config.mak $(hdrs) + @mkdir -p $(builddir)/lib + $(E) " CC -S" $< + $(Q) $(CC) -S -o $@ $< $(DEFS) $(CFLAGS) $(CPPFLAGS) +asms = $(objs:.o=.s) +asm: $(asms) +