diff options
| author | Marc G. Fournier | 1996-07-09 06:22:35 +0000 |
|---|---|---|
| committer | Marc G. Fournier | 1996-07-09 06:22:35 +0000 |
| commit | 24a952fe4a27c6c66dc46ee3b2d860755fe063e1 (patch) | |
| tree | 9c669cd24c4dbcf57f03c278f3169dcb971a2151 /src/mk/postgres.prog.mk | |
Postgres95 1.01 Distribution - Virgin SourcesPG95_DIST
Diffstat (limited to 'src/mk/postgres.prog.mk')
| -rw-r--r-- | src/mk/postgres.prog.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/mk/postgres.prog.mk b/src/mk/postgres.prog.mk new file mode 100644 index 0000000000..d7a7f345d0 --- /dev/null +++ b/src/mk/postgres.prog.mk @@ -0,0 +1,26 @@ +#------------------------------------------------------------------------- +# +# postgres.prog.mk-- +# rules for building binaries. To use the rules, set the following +# variables: +# PROG - name of the program (eg. PROG=monitor for monitor) +# postgres.mk should be included before this file. +# +# Copyright (c) 1994-5, Regents of the University of California +# +# +# IDENTIFICATION +# $Header$ +# +#------------------------------------------------------------------------- + +PROGOBJS:= $(SRCS:%.c=%.o) + +$(PROG): $(addprefix $(objdir)/,$(PROGOBJS)) + $(CC) $(CDEBUG) -o $(objdir)/$(@F) $(addprefix $(objdir)/,$(PROGOBJS)) $(LD_ADD) + +CLEANFILES+= $(PROGOBJS) $(PROG) + +install:: localobj $(PROG) + $(INSTALL) $(INSTL_EXE_OPTS) $(objdir)/$(PROG) $(DESTDIR)$(BINDIR)/$(PROG) + |
