changed: in setup config: PrivilegesRequired=admin it is better to use administrative privileges when doing an update (if an unprivileged user has installed TTCalc in a special folder before then he would not be able to install it now - and the default directory in the setup would be other than previous one - this would be very misleading) git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@219 e52654a7-88a9-db11-a3e9-0013d4bc506e
22 lines
430 B
Plaintext
22 lines
430 B
Plaintext
CC = g++
|
|
CFLAGS = -Wall -pedantic -s -Os -fno-default-inline -mwindows -I../../ttmath -DTTMATH_RELEASE -DTTCALC_PORTABLE
|
|
name = ttcalcp.exe
|
|
compressor = upx
|
|
|
|
all: ttcalc
|
|
|
|
include Makefile.dep
|
|
|
|
ttcalc: $(o)
|
|
$(CC) -o $(name) $(CFLAGS) $(o) -lcomctl32 -lwininet
|
|
$(compressor) -7 $(name)
|
|
|
|
resource.o: resource.rc
|
|
windres -DTTCALC_PORTABLE resource.rc resource.o
|
|
|
|
clean:
|
|
rm -f *.o
|
|
rm -f $(name)
|
|
rm -f ../help/$(helpname)
|
|
|