diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-27 13:42:37 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-27 13:42:37 +0200 |
commit | 8a4ebdee31e20f4b41a96520510002f1b193745f (patch) | |
tree | 5d709562964baae9110cc82f3efba39a3209d9fe /Makefile | |
download | gapk-8a4ebdee31e20f4b41a96520510002f1b193745f.tar.bz2 gapk-8a4ebdee31e20f4b41a96520510002f1b193745f.tar.xz |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f6269d1 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ + +GTK_PC = gtk+-3.0 +GTK_CFLAGS = $(shell pkg-config $(GTK_PC) --cflags) +GTK_LIBS = $(shell pkg-config $(GTK_PC) --libs) + +CFLAGS = -g +CFLAGS += $(GTK_CFLAGS) + +%.o: %.c + $(CC) $(CFLAGS) $(GTK_CFLAGS)-c $< -o $@ + +gapk: gapk.o + $(CC) -o $@ $< $(GTK_LIBS) + +clean: + rm gapk *.o |