Skip to content

Commit

Permalink
Fixed compilation ypp/yambo
Browse files Browse the repository at this point in the history
  • Loading branch information
attacc committed Jan 23, 2024
1 parent 040b6ef commit 6bf0556
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/main/options_maker.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
Copyright (C) 2020 The Yambo Team
Authors (see AUTHORS file for details): AM
Authors (see AUTHORS file for details): AM, AC
*/
#include <stdio.h>
#include <kind.h>
#if defined _yambo || defined _ypp || defined _a2y || defined _p2y || defined _c2y || defined _e2y || defined _eph2y
#if defined _yambo || defined _ypp || defined _a2y || defined _p2y || defined _c2y || defined _e2y
#include <yambo_driver.h>
#endif
#if defined _example_driver
Expand Down Expand Up @@ -44,8 +44,11 @@ void options_maker(struct options_struct options[], int n_options)
/*
Control(s)
*/
#if defined _yambo || defined _ypp || defined _a2y || defined _p2y || defined _c2y || defined _e2y || defined _eph2y
#if defined _yambo || defined _ypp || defined _a2y || defined _p2y || defined _c2y || defined _e2y
options_control(options,&i_opt);
#endif

#if defined _yambo
/*
Yambo
*/
Expand All @@ -54,10 +57,16 @@ void options_maker(struct options_struct options[], int n_options)
Projects
*/
options_projects(options,&i_opt);
#endif

#if defined _ypp
/*
Ypp
*/
options_ypp(options,&i_opt);
#endif

#if defined _a2y || defined _p2y || defined _c2y || defined _e2y
/*
Interfaces
*/
Expand Down

0 comments on commit 6bf0556

Please sign in to comment.