Skip to content

Commit

Permalink
[build] use pkg-config to get ivy include dirs for simulation targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Ruess committed Oct 22, 2014
1 parent a55a745 commit a740798
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/Makefile.nps
Expand Up @@ -39,13 +39,15 @@ CFLAGS += $(LOCAL_CFLAGS)
CFLAGS += -O$(OPT)
CFLAGS += -g
CFLAGS += -std=gnu99
CFLAGS += $(shell pkg-config --cflags-only-I ivy-glib)

CXXFLAGS = -W -Wall
CXXFLAGS += $(INCLUDES)
CXXFLAGS += $($(TARGET).CFLAGS)
CXXFLAGS += $(LOCAL_CFLAGS)
CXXFLAGS += -O$(OPT)
CXXFLAGS += -g
CXXFLAGS += $(shell pkg-config --cflags-only-I ivy-glib)

LDFLAGS += $($(TARGET).LDFLAGS)

Expand Down
1 change: 1 addition & 0 deletions conf/Makefile.sim
Expand Up @@ -56,6 +56,7 @@ CFLAGS += -fPIC
CFLAGS += -O$(OPT)
CFLAGS += -g
CFLAGS += -std=gnu99
CFLAGS += $(shell pkg-config --cflags-only-I ivy-glib)

LDFLAGS = -lm

Expand Down

0 comments on commit a740798

Please sign in to comment.