Skip to content

Commit

Permalink
Test: Add -DDYAD_HAS_CONFIG=1 to the test build to use the generated …
Browse files Browse the repository at this point in the history
…header
  • Loading branch information
JaeseungYeom committed Jan 19, 2024
1 parent 6c93264 commit de34972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/demos/ecp_feb_2023/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
DYAD_LIB_PATH = $(DYAD_INSTALL_PREFIX)/lib
DYAD_INCLUDE_PATH = $(DYAD_INSTALL_PREFIX)/include

CFLAGS_LOC = -std=c99 $(CFLAGS)
CFLAGS_LOC = -std=c11 -DDYAD_HAS_CONFIG=1 $(CFLAGS)
CPPFLAGS_LOC = -O3 -I. $(CPPFLAGS)
CXXFLAGS_LOC = -std=c++11 -I$(DYAD_INCLUDE_PATH) $(CXXFLAGS)
CXXFLAGS_LOC = -std=c++11 -DDYAD_HAS_CONFIG=1 -I$(DYAD_INCLUDE_PATH) $(CXXFLAGS)
CXXLIBS_LOC = -L$(DYAD_LIB_PATH) -Wl,-rpath=$(DYAD_LIB_PATH) -ldyad_fstream $(CXXLIBS)

all: c_prod c_cons cpp_prod cpp_cons
Expand Down

0 comments on commit de34972

Please sign in to comment.