From 802f58f10d1d733093b0c285a2ee8bfdf68de414 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 29 Oct 2010 00:54:27 +0000 Subject: Futher simplification of the makefile Use target makefiles to set build sources svn path=/trunk/netsurf/; revision=10916 --- windows/Makefile.target | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'windows/Makefile.target') 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 -- cgit v1.2.3