trunk/makefile
| r22661 | r22662 | |
| 247 | 247 | # uncomment next line to generate verbose build information |
| 248 | 248 | # VERBOSE = 1 |
| 249 | 249 | |
| 250 | # specify the sanitizer to use or leave empty to use none |
| 251 | # SANITIZE = |
| 252 | |
| 250 | 253 | # specify optimization level or leave commented to use the default |
| 251 | 254 | # (default is OPTIMIZE = 3 normally, or OPTIMIZE = 0 with symbols) |
| 252 | 255 | # OPTIMIZE = 3 |
| r22661 | r22662 | |
| 528 | 531 | -Wno-self-assign-field |
| 529 | 532 | endif |
| 530 | 533 | |
| 534 | ifdef SANITIZE |
| 535 | CCOMFLAGS += -fsanitize=$(SANITIZE) |
| 536 | endif |
| 531 | 537 | |
| 532 | 538 | #------------------------------------------------- |
| 533 | 539 | # include paths |
| r22661 | r22662 | |
| 594 | 600 | LDFLAGSEMULATOR += -Wl,-Map,$(FULLNAME).map |
| 595 | 601 | endif |
| 596 | 602 | |
| 603 | ifdef SANITIZE |
| 604 | LDFLAGS += -fsanitize=$(SANITIZE) |
| 605 | endif |
| 597 | 606 | |
| 598 | 607 | |
| 599 | 608 | #------------------------------------------------- |
| r22661 | r22662 | |
| 684 | 693 | MIDI_LIB = |
| 685 | 694 | endif |
| 686 | 695 | |
| 696 | ifneq (,$(findstring clang,$(CC))) |
| 697 | LIBS += -lstdc++ -lpthread |
| 698 | endif |
| 699 | |
| 687 | 700 | #------------------------------------------------- |
| 688 | 701 | # 'default' target needs to go here, before the |
| 689 | 702 | # include files which define additional targets |