CC = g++ CFLAGS = -Wall -pedantic -s -O2 -mwindows -mthreads -I../../../ttmath name = ttcalc.exe dir_output = ../../output all: ttcalc include Makefile.dep 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)