diff options
author | James Bursa <james@netsurf-browser.org> | 2008-05-25 23:28:06 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2008-05-25 23:28:06 +0000 |
commit | b53f36ebc2feb627d9fa79389e3db7b4a14c6d52 (patch) | |
tree | f937ab16f172cbc601ac091f57b71f8d2eda6915 /Makefile.sources | |
parent | 70da04d69e87e6d11fc043dc769de2b5e027f071 (diff) | |
download | netsurf-b53f36ebc2feb627d9fa79389e3db7b4a14c6d52.tar.gz netsurf-b53f36ebc2feb627d9fa79389e3db7b4a14c6d52.tar.bz2 |
Add TARGET=debug and fix the debug build.
svn path=/trunk/netsurf/; revision=4202
Diffstat (limited to 'Makefile.sources')
-rw-r--r-- | Makefile.sources | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.sources b/Makefile.sources index adb73167e..037bcca93 100644 --- a/Makefile.sources +++ b/Makefile.sources @@ -57,6 +57,9 @@ S_GTK := font_pango.c gtk_bitmap.c gtk_gui.c gtk_schedule.c \ gtk_history.c gtk_window.c gtk_filetype.c gtk_download.c S_GTK := $(addprefix gtk/,$(S_GTK)) +# S_DEBUG are sources purely for the debug build +S_DEBUG := netsurfd.c debug_bitmap.c filetyped.c fontd.c +S_DEBUG := $(addprefix debug/,$(S_DEBUG)) # Some extra rules for building the scanner etc. css/css_enum.c css/css_enum.h: css/css_enums css/makeenum @@ -114,6 +117,11 @@ SOURCES := $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_GTK) EXETARGET := nsgtk endif +ifeq ($(TARGET),debug) +SOURCES := $(S_COMMON) $(S_IMAGE) $(S_DEBUG) +EXETARGET := nsdebug +endif + ifeq ($(SOURCES),) $(error Unable to build NetSurf, could not determine set of sources to build) endif |