mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Do not create unnecessary test binary. This also prevents TEXTRELS errors on systems where relocations are tracked.
This commit is contained in:
parent
1046c2d4d5
commit
22f4e094cf
@ -12,10 +12,14 @@ SubDir TOP ede-panel applets start-menu ;
|
||||
|
||||
MENU_SRC = XdgMenuReader.cpp DesktopEntry.cpp MenuRules.cpp ;
|
||||
|
||||
Library libmenu : $(MENU_SRC) ;
|
||||
ObjectC++Flags $(MENU_SRC) : -fPIC $(FLTKINCLUDE) -I [ FDirName $(TOP) ede-panel ] $(EDELIBINCLUDE) ;
|
||||
if $(MENU_TESTS) {
|
||||
Library libmenu : $(MENU_SRC) ;
|
||||
ObjectC++Flags $(MENU_SRC) : -fPIC $(FLTKINCLUDE) -I [ FDirName $(TOP) ede-panel ] $(EDELIBINCLUDE) ;
|
||||
|
||||
PanelApplet start_menu : StartMenu.cpp : -L$(SUBDIR) -lmenu ;
|
||||
PanelApplet start_menu : StartMenu.cpp : -L$(SUBDIR) -lmenu ;
|
||||
|
||||
EdeProgram ede-menu-spec-test : ede-menu-spec-test.cpp ;
|
||||
LinkAgainstAsFirst ede-menu-spec-test : -L$(SUBDIR) -lmenu ;
|
||||
EdeProgram ede-menu-spec-test : ede-menu-spec-test.cpp ;
|
||||
LinkAgainstAsFirst ede-menu-spec-test : -L$(SUBDIR) -lmenu ;
|
||||
} else {
|
||||
PanelApplet start_menu : StartMenu.cpp $(MENU_SRC) ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user