1
# makefile to control installation of CCCC
13
INSTBIN2=CcccDevStudioAddIn.dll
14
INSTDIR=C:/Program\ Files/CCCC
26
INSTDIR=/usr/local/bin
29
# The installation is pretty crude
30
# we just go to the target directory for the machine
31
# we are on, delete old versions, copy new versions in
32
# There are lots of nicer things we could do on either
33
# platform, but this is the lowest common denominator which
34
# works consistently on both.
35
ifeq "$(CONF)" "w32vc"
36
all : install_cccc install_addin report_success
38
all : install_cccc report_success
43
-$(RM) $(INSTDIR)/$(INSTBIN1)
44
$(CP) ../cccc/$(INSTBIN1) $(INSTDIR)
47
-$(RM) $(INSTDIR)/$(INSTBIN2)
48
$(CP) ../vcaddin/$(VARIANT)/$(INSTBIN2) $(INSTDIR)
50
# There are potential error messages relating to directories which
51
# already existed, which will be ignored, because we are being conservative
52
# and attempting creation unconditionally (so we don't have to ship Win32
54
# So we finish the process with a message reassuring the user that all went well
56
@$(ECHO) ===========================
57
@$(ECHO) Installation succeeded!
58
@$(ECHO) ===========================