added: when a user presses CTRL+C then the result will be

copied into the clipboard (if the current control which 
         has a focus is not an edit control, or if it is an edit
         but has no selection)
added:   when a user presses CTRL+V then a text from the clipboard
         will be copied into the edit control (if a focus is not 
         on another edit control)
changed: Makefile: added rules: help, setup
         and more small changes,
         small changes in Makefileportable
changed: Makefile.dep
added:   Makefile.help.sh
         this script calls for Html Help Workshop
         and when there was an error returns 1
         and if success returns 0
         (HtmlHW returns conversely)


git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@50 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2007-08-05 20:31:46 +00:00
parent af284466d6
commit c232565953
9 changed files with 210 additions and 16 deletions

View File

@@ -1,19 +1,42 @@
CC = g++
CFLAGS = -Wall -pedantic -s -O2 -mwindows -mthreads -I../../../ttmath
name = ttcalc.exe
# the name of the help is also set in the html help workshop project file
helpname = ttcalc.chm
# the name of the setup is also set in the Inno Setup config file
setupname = ttcalc-setup.exe
dir_output = ../../output
all: ttcalc
include Makefile.dep
ttcalc: $(o)
$(dir_output)/$(name): $(o)
$(CC) -o $(dir_output)/$(name) $(CFLAGS) $(o) -lcomctl32
ttcalc: $(dir_output)/$(name)
resource.o: resource.rc
windres resource.rc resource.o
$(dir_output)/$(helpname): $(helpdep)
Makefile.help.sh
help: $(dir_output)/$(helpname)
$(dir_output)/$(setupname): $(setupdep)
iscc ../setup/innosetup.iss
setup: $(dir_output)/$(setupname)
clean:
rm -f *.o
rm -f *.s
rm -f $(dir_output)/$(name)
rm -f $(dir_output)/$(helpname)
rm -f $(dir_output)/$(setupname)