2007-01-22 12:12:01 +01:00
|
|
|
CC = g++
|
2007-03-08 20:15:55 +01:00
|
|
|
CFLAGS = -Wall -pedantic -s -O2 -mwindows -mthreads -I../../../ttmath
|
2007-01-22 12:12:01 +01:00
|
|
|
name = ttcalc.exe
|
|
|
|
dir_output = ../../output
|
|
|
|
|
|
|
|
all: ttcalc
|
|
|
|
|
2007-06-24 22:11:14 +02:00
|
|
|
include Makefile.dep
|
2007-01-22 12:12:01 +01:00
|
|
|
|
|
|
|
ttcalc: $(o)
|
|
|
|
$(CC) -o $(dir_output)/$(name) $(CFLAGS) $(o) -lcomctl32
|
|
|
|
|
|
|
|
resource.o: resource.rc
|
|
|
|
windres resource.rc resource.o
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|
|
|
|
rm -f *.s
|
|
|
|
rm -f $(dir_output)/$(name)
|