Ignore more files.
[dhcpcd-ui] / Makefile
index d834d4589a0cc3ddfad13289376309db77114fb3..1767e6a3b9bf26f0ecba0dc720b217551fed0dce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,27 +1,7 @@
-# Makefile based on BSD make.
-# Our mk stubs also work with GNU make.
-# Copyright 2008 Roy Marples <roy@marples.name>
-
 PROG=          dhcpcd-gtk
-SRCS=          main.c menu.c dhcpcd-config.c prefs.c wpa.c
-
-ICONDIR?=      ${PREFIX}/share/dhcpcd/icons
-SYSCONFDIR?=   ${PREFIX}/etc/xdg/autostart
-FILESDIR?=     ${SYSCONFDIR}
-FILES=         dhcpcd-gtk.desktop
-
-CPPFLAGS+=     -DICONDIR=\"${ICONDIR}\"
-
-_PKGCFLAGS_SH= pkg-config --cflags dbus-glib-1 gtk+-2.0 libnotify
-_PKGCFLAGS!=   ${_PKGCFLAGS_SH}
-PKGCFLAGS?=    ${_PKGCFLAGS}$(shell ${_PKGCFLAGS_SH})
-CFLAGS+=       ${PKGCFLAGS}
 
-_PKGLIBS_SH=   pkg-config --libs dbus-glib-1 gtk+-2.0 libnotify
-_PKGLIBS!=     ${_PKGLIBS_SH}
-PKGLIBS?=      ${_PKGLIBS}$(shell ${_PKGLIBS_SH})
-LDADD+=                ${PKGLIBS}
+SUBDIR=        src icons
 
-MK=            mk
-include ${MK}/sys.mk
-include ${MK}/prog.mk
+MK=    mk
+include ${MK}/subdir.mk
+include ${MK}/dist.mk