diff options
| author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-08-01 00:54:21 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-01 00:54:21 -0700 |
| commit | 329873efd1e8ad738d6c2de09d1b0bcadb7b689e (patch) | |
| tree | 59b427278db32ef01e4249d1450044a76e557fcb /src/Makefile | |
| parent | Merge pull request #491 from jonls/python-controller (diff) | |
| parent | Add Windows resources (diff) | |
| download | redshift-ng-329873efd1e8ad738d6c2de09d1b0bcadb7b689e.tar.gz redshift-ng-329873efd1e8ad738d6c2de09d1b0bcadb7b689e.tar.bz2 redshift-ng-329873efd1e8ad738d6c2de09d1b0bcadb7b689e.tar.xz | |
Merge pull request #490 from jonls/windows-resources
Add icon for Windows build
Diffstat (limited to '')
| -rw-r--r-- | src/Makefile.am | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 318fc2c..d6dc149 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -25,11 +25,13 @@ EXTRA_redshift_SOURCES = \ gamma-vidmode.c gamma-vidmode.h \ gamma-quartz.c gamma-quartz.h \ gamma-w32gdi.c gamma-w32gdi.h \ - location-geoclue.c location-geoclue.h + location-geoclue.c location-geoclue.h \ + windows/appicon.rc \ + windows/versioninfo.rc AM_CFLAGS = redshift_LDADD = @LIBINTL@ -EXTRA_DIST = +EXTRA_DIST = windows/redshift.ico if ENABLE_DRM redshift_SOURCES += gamma-drm.c gamma-drm.h @@ -99,3 +101,12 @@ liblocation_corelocation_la_LIBADD = \ $(CORELOCATION_CFLAGS) $(CORELOCATION_LIBS) redshift_LDADD += liblocation-corelocation.la endif + + +# Windows resources +if ENABLE_WINDOWS_RESOURCE +redshift_SOURCES += windows/appicon.rc windows/versioninfo.rc +endif + +.rc.o: + $(AM_V_GEN)$(WINDRES) -I$(top_builddir) -i $< -o $@ |
