Makefile #1

  • //
  • guest/
  • sean_nolan/
  • perforce/
  • utils/
  • c4/
  • Makefile
  • View
  • Commits
  • Open Download .zip Download (809 B)
#
#	c4 - CVS like front end for p4
#

CC =		gcc
CFLAGS =	-O
# CFLAGS =	-g
OBJS =		command.o findroot.o fstat.o ignore.o glob.o \
		info.o lookup.o main.o scan.o


c4:		$(OBJS)
	$(CC) $(CFLAGS) -o c4 $(OBJS)

clean:
	rm -f $(OBJS) c4


VER=1.6
BASE=c4-1.6
# Make release files (binaries must be made seprately).
release:
	groff -Tascii -man c4.1 >c4.1q
	groff -man c4.1 >c4.ps
	distill c4.ps
	ln -s . $(BASE)
	tar cvf - \
		$(BASE)/README \
		$(BASE)/*.h \
		$(BASE)/*.c \
		$(BASE)/Makefile \
		$(BASE)/Jamfile \
		$(BASE)/c4.1 \
		$(BASE)/c4.1q \
		$(BASE)/c4.ps \
		$(BASE)/c4.pdf \
			| gzip -v -best >rel/c4-src-$(VER).tar.gz
	tar cvf - \
		$(BASE)/c4.1 \
		$(BASE)/c4.1q \
		$(BASE)/c4.ps \
		$(BASE)/c4.pdf \
			| gzip -v -best >rel/c4-doc-$(VER).tar.gz
	rm $(BASE)


$(OBJS):	defs.h
main.o:		version.h
# Change User Description Committed
#1 1985 Sean Nolan my initial branch
//guest/perforce_software/utils/c4/Makefile
#4 276 Neil Russell C4 - small bug fixed; updated to version 1.6
*  We are now a little more intelligent about what happens if
   there is a merge conflict between the local client and the
   head of the tree, and also about trying to do a refresh and
   a sync on the same file.
#3 223 Neil Russell C4 - small bug fixed; updated to version 1.5
#2 159 Neil Russell C4 integrated into //public/perforce/utils/c4.
 This is version 1.4
of C4, ready for release.
#1 18 Perforce maintenance Add c4, a CVS-like frontend to p4