diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2010-10-29 00:54:27 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2010-10-29 00:54:27 +0000 |
commit | 802f58f10d1d733093b0c285a2ee8bfdf68de414 (patch) | |
tree | 56f8882897e9ca64a1257c11afec6caba22345e2 /windows | |
parent | 8814bca33e515bcb9110dbdc9e0f44285dd5bb47 (diff) | |
download | netsurf-802f58f10d1d733093b0c285a2ee8bfdf68de414.tar.gz netsurf-802f58f10d1d733093b0c285a2ee8bfdf68de414.tar.bz2 |
Futher simplification of the makefile
Use target makefiles to set build sources
svn path=/trunk/netsurf/; revision=10916
Diffstat (limited to 'windows')
-rw-r--r-- | windows/Makefile.target | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/windows/Makefile.target b/windows/Makefile.target index 31221d32c..7b931eeee 100644 --- a/windows/Makefile.target +++ b/windows/Makefile.target @@ -28,3 +28,25 @@ CFLAGS += $(WSCFLAGS) LDFLAGS += $(WSCFLAGS) +# ---------------------------------------------------------------------------- +# built-in resource setup +# ---------------------------------------------------------------------------- + +$(OBJROOT)/windows_resource.o: windows/res/resource.rc + $(VQ)echo " WINDRES: compiling windows resources" + ${Q}$(MINGW_PREFIX)windres $< -O coff -o $@ + +S_RESOURCES := windows_resource.o + +# ---------------------------------------------------------------------------- +# Source file setup +# ---------------------------------------------------------------------------- + +# S_WINDOWS are sources purely for the windows build +S_WINDOWS := about.c bitmap.c download.c filetype.c findfile.c font.c \ + gui.c localhistory.c login.c misc.c plot.c prefs.c schedule.c \ + thumbnail.c tree.c windbg.c +S_WINDOWS := $(addprefix windows/,$(S_WINDOWS)) + +SOURCES := $(S_COMMON) $(S_IMAGE) $(S_BROWSER) $(S_WINDOWS) $(S_RESOURCES) +EXETARGET := NetSurf.exe |