aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-10-17 16:23:46 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2022-10-17 16:23:46 +0200
commit113612d5c11d774f806c412b0e8a60ca5dac53f2 (patch)
tree101c8bf2c5e08bbb0035a6304e742b7af22c3afa /resources
parentb9736f95b64eaef0b0f52278be861f7b899ebda7 (diff)
downloadmessenger-gtk-113612d5c11d774f806c412b0e8a60ca5dac53f2.tar.gz
messenger-gtk-113612d5c11d774f806c412b0e8a60ca5dac53f2.zip
Transition from single makefile to automake
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/.gitignore8
-rw-r--r--resources/Makefile.am19
2 files changed, 26 insertions, 1 deletions
diff --git a/resources/.gitignore b/resources/.gitignore
index db4787e..3efd265 100644
--- a/resources/.gitignore
+++ b/resources/.gitignore
@@ -1 +1,7 @@
1*.h \ No newline at end of file 1.deps/
2
3*.c
4*.h
5
6*.o
7*.a
diff --git a/resources/Makefile.am b/resources/Makefile.am
new file mode 100644
index 0000000..2280da8
--- /dev/null
+++ b/resources/Makefile.am
@@ -0,0 +1,19 @@
1# This Makefile.am is in the public domain
2
3%.c: %.gresource.xml
4 glib-compile-resources --sourcedir=$(top_srcdir)/resources $< --generate-source
5 glib-compile-resources --sourcedir=$(top_srcdir)/resources $< --generate-header
6
7clean-local:
8 rm css.c css.h
9 rm ui.c ui.h
10
11AM_CFLAGS = \
12 -I$(top_srcdir)/resources \
13 @GLIB_CFLAGS@
14
15lib_LIBRARIES = libresources.a
16
17libresources_a_SOURCES = \
18 css.c css.h \
19 ui.c ui.h