From 8b8a8d15174ec92d653cea97ea64dd559a7285e4 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 29 Dec 2015 04:53:45 -0500 Subject: project: add libfirm and cparser dependencies. --- Makefile.in | 3 +++ config.project | 1 + project/extras.mk | 4 ++++ 3 files changed, 8 insertions(+) diff --git a/Makefile.in b/Makefile.in index 2d589c6..67152e3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,3 +1,6 @@ +LIBCPARSER_A = /usr/local/lib/libcparser.a +LIBFIRM_A = /usr/local/lib/libfirm.a + PACKAGE = @package@ PROJECT_DIR = @project_dir@ diff --git a/config.project b/config.project index 1190ed1..1601ae5 100644 --- a/config.project +++ b/config.project @@ -28,6 +28,7 @@ mb_default_shell=sh # switches mb_default_cflags_debug= mb_default_cflags_common="-std=c99 -D_XOPEN_SOURCE=700 -I\$(PROJECT_DIR)/src/internal -I\$(PROJECT_DIR)/include -Ibuild" +mb_default_cflags_common="$mb_default_cflags_common -I/usr/local/include/cparser -I/usr/local/include/libfirm" mb_default_cflags_cmdline= mb_default_cflags_config= mb_default_cflags_sysroot= diff --git a/project/extras.mk b/project/extras.mk index a6dbc77..e3a8526 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -1,3 +1,7 @@ CFLAGS_SHARED_ATTR += -DAMGC_PRE_ALPHA -DAMGC_BUILD CFLAGS_STATIC_ATTR += -DAMGC_PRE_ALPHA -DAMGC_STATIC CFLAGS_APP_ATTR += -DAMGC_APP + +LDFLAGS_APP += $(LIBCPARSER_A) $(LIBFIRM_A) +LDFLAGS_SHARED += -lcparser -lfirm +LDFLAGS_STATIC += -lcparser -lfirm -- cgit v1.2.3