diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index 417d001..0000000 --- a/src/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -.POSIX: - -CONFIGFILE = config.mk -include $(CONFIGFILE) - - -VERSION_STRING = redshift-ng 1.13 - - -OBJ =\ - backend-direct.o\ - colour.o\ - config.o\ - config-ini.o\ - gamma.o\ - gamma-coopgamma.o\ - gamma-drm.o\ - gamma-dummy.o\ - gamma-quartz.o\ - gamma-randr.o\ - gamma-vidmode.o\ - gamma-wingdi.o\ - hooks.o\ - location.o\ - location-geoclue2.o\ - location-manual.o\ - location-geofile.o\ - location-timezone.o\ - redshift.o\ - signals.o\ - util.o - - -CPPFLAGS_STRINGS =\ - -D'PACKAGE="$(PACKAGE)"'\ - -D'VERSION_STRING="$(VERSION_STRING)"'\ - -D'LOCALEDIR="$(LOCALEDIR)"' - - -all: redshift -$(OBJ): common.h arg.h - -.c.o: - $(CC) -c -o $@ $< $(CFLAGS) $(CPPFLAGS) $(CPPFLAGS_STRINGS) - -redshift: $(OBJ) - $(CC) -o $@ $(OBJ) $(LDFLAGS) - -install: redshift - mkdir -p -- "$(DESTDIR)$(PREFIX)/bin" - mkdir -p -- "$(DESTDIR)$(MANPREFIX)/man1/" - cp -- redshift "$(DESTDIR)$(PREFIX)/bin/" - cp -- redshift.1 "$(DESTDIR)$(MANPREFIX)/man1/" - -uninstall: - -rm -f -- "$(DESTDIR)$(PREFIX)/bin/redshift" - -rm -f -- "$(DESTDIR)$(MANPREFIX)/man1/redshift.1" - -clean: - -rm -f -- *.o *.a *.lo *.su - -rm -f -- redshift - -.SUFFIXES: -.SUFFIXES: .o .c - -.PHONY: all install uninstall clean |