fixed: option: "parameters separated by" was not correctly read from the config file added: the setup program now addes language.setup key to the ttcalc.ini (it creates ttcalc.ini if it doesn't exist) so when ttcalc starts for the first time it can choose the same language git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@352 e52654a7-88a9-db11-a3e9-0013d4bc506e
32 lines
489 B
Plaintext
32 lines
489 B
Plaintext
include Makefile.o.dep
|
|
include Makefile.help.dep
|
|
|
|
|
|
CC = g++
|
|
CFLAGS = -Wall -pedantic -s -Os -fno-default-inline -mwindows -I../../ttmath -DTTCALC_PORTABLE -DTTMATH_DONT_USE_WCHAR
|
|
name = ttcalcp.exe
|
|
compressor = upx
|
|
|
|
|
|
|
|
all: ttcalc
|
|
|
|
|
|
%.o: %.cpp
|
|
$(CC) -c $(CFLAGS) $<
|
|
|
|
|
|
ttcalc: $(name)
|
|
|
|
|
|
$(name): $(o)
|
|
$(CC) -o $(name) $(CFLAGS) $(o) -lcomctl32 -lwininet
|
|
$(compressor) -7 $(name)
|
|
|
|
|
|
resource.o: resource.rc
|
|
windres -DTTCALC_PORTABLE resource.rc resource.o
|
|
|
|
|
|
include Makefile.cpp.dep
|