when they have been changed (performance) flags: variables_id and functions_id in ProgramResources changed: you don't have to be an administrator to use the setup (installer) PrivilegesRequired=none in innosetup.iss changed: small changes in Makefile(s) especially pathes changed: upx 3.03 is used now (for the portable version) git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@116 e52654a7-88a9-db11-a3e9-0013d4bc506e
42 lines
745 B
Makefile
42 lines
745 B
Makefile
CC = g++
|
|
#CFLAGS = -Wall -pedantic -s -O2 -mwindows -I../../ttmath -DTTCALC_CONVERT
|
|
CFLAGS = -Wall -pedantic -s -O2 -mwindows -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
|
|
|
|
|
|
|
|
|
|
all: ttcalc
|
|
|
|
|
|
include Makefile.dep
|
|
|
|
ttcalc: $(o)
|
|
$(CC) -o $(name) $(CFLAGS) $(o) -lcomctl32
|
|
|
|
resource.o: resource.rc
|
|
#windres -DTTCALC_CONVERT resource.rc resource.o
|
|
windres resource.rc resource.o
|
|
|
|
|
|
help: $(helpdep)
|
|
Makefile.help.sh
|
|
|
|
|
|
setup: $(setupdep)
|
|
iscc ../setup/innosetup.iss
|
|
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f *.s
|
|
rm -f $(name)
|
|
rm -f $(helpname)
|
|
rm -f $(setupname)
|