translation made by: ... <zhushengyi2008 at 126 dot com> git-svn-id: svn://ttmath.org/publicrep/ttcalc/trunk@159 e52654a7-88a9-db11-a3e9-0013d4bc506e
22 lines
403 B
Plaintext
22 lines
403 B
Plaintext
CC = g++
|
|
CFLAGS = -Wall -pedantic -s -Os -fno-default-inline -mwindows -I../../ttmath -DTTCALC_PORTABLE
|
|
name = ttcalcp.exe
|
|
compressor = upx
|
|
|
|
all: ttcalc
|
|
|
|
include Makefile.dep
|
|
|
|
ttcalc: $(o)
|
|
$(CC) -o $(name) $(CFLAGS) $(o) -lcomctl32
|
|
$(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)
|
|
|