aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2019-04-27 17:26:15 +0000
committernirav <nirav@teisuu.com>2019-04-27 17:26:15 +0000
commitc158e0596f6f103ee2e5465051d03028f7b9b181 (patch)
treea80297bb59e6f839927791950542de06ea77d010 /Makefile
parent0d565e46953e433fa13149f54593c09f099ef7df (diff)
downloadim-master.tar.gz
im-master.zip
Rename to imHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 12fae3d..5de8517 100644
--- a/Makefile
+++ b/Makefile
@@ -24,13 +24,13 @@ OBJECTS=$(SRCDIR)/main.o \
$(SRCDIR)/option.o \
$(SRCDIR)/resources.o
-all: qwe
+all: im
-qwe: $(OBJECTS)
+im: $(OBJECTS)
$(CC) $(_LDFLAGS) -o $@ $(OBJECTS)
-$(SRCDIR)/resources.c: $(DATADIR)/qwe.gresources.xml $(DATADIR)/qwe.css
- glib-compile-resources $(DATADIR)/qwe.gresources.xml --target=$@ --generate-source
+$(SRCDIR)/resources.c: $(DATADIR)/im.gresources.xml $(DATADIR)/im.css
+ glib-compile-resources $(DATADIR)/im.gresources.xml --target=$@ --generate-source
.c.o:
$(CC) $(_CFLAGS) $(DFLAGS) -c -o $@ $<
@@ -38,23 +38,23 @@ $(SRCDIR)/resources.c: $(DATADIR)/qwe.gresources.xml $(DATADIR)/qwe.css
clean:
rm -f $(SRCDIR)/resources.c
rm -f $(SRCDIR)/*.o
- rm -f qwe
+ rm -f im
-install: qwe qwe.desktop
+install: im im.desktop
mkdir -p $(DESTDIR)$(BINDIR)
- cp qwe $(DESTDIR)$(BINDIR)/qwe
- chmod 0775 $(DESTDIR)$(BINDIR)/qwe
+ cp im $(DESTDIR)$(BINDIR)/im
+ chmod 0775 $(DESTDIR)$(BINDIR)/im
mkdir -p $(DESTDIR)$(APPDIR)
- cp qwe.desktop $(DESTDIR)$(APPDIR)/qwe.desktop
- chmod 0664 $(DESTDIR)$(APPDIR)/qwe.desktop
+ cp im.desktop $(DESTDIR)$(APPDIR)/im.desktop
+ chmod 0664 $(DESTDIR)$(APPDIR)/im.desktop
mkdir -p $(DESTDIR)$(MANDIR)
- cp doc/qwe.1 $(DESTDIR)$(MANDIR)/qwe.1
- chmod 0664 $(DESTDIR)$(MANDIR)/qwe.1
+ cp doc/im.1 $(DESTDIR)$(MANDIR)/im.1
+ chmod 0664 $(DESTDIR)$(MANDIR)/im.1
uninstall:
- rm -f $(DESTDIR)$(BINDIR)/qwe
- rm -f $(DESTDIR)$(APPDIR)/qwe.desktop
- rm -f $(DESTDIR)$(MANDIR)/qwe.1
+ rm -f $(DESTDIR)$(BINDIR)/im
+ rm -f $(DESTDIR)$(APPDIR)/im.desktop
+ rm -f $(DESTDIR)$(MANDIR)/im.1
src/file.o: src/file.c src/file.h src/image.h
src/image.o: src/image.c src/image.h src/window.h