summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@xenon.tklauser.home>2006-07-17 18:57:02 +0200
committerTobias Klauser <tklauser@xenon.tklauser.home>2006-07-17 18:57:02 +0200
commit4825bbd64861cb15c1a7b7acd7a4d661d277686a (patch)
tree9379840a4addca7c5d1f2005a1c4ed91527c9360 /Makefile
parente80cbe194df80d6cdd61667e15103849e8ae4ba2 (diff)
Set version from Makefile, clean up
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3d9eb3a..4524ed6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+# Makefile for inotail
+
VERSION = 0.1
# Paths
@@ -6,16 +8,18 @@ BINDIR = $(prefix)/bin
DESTDIR =
CC := gcc
-CFLAGS := -Wall -D_USE_SOURCE
+CFLAGS := -Wall -pipe -D_USE_SOURCE -DVERSION="\"$(VERSION)\""
+WARN := -Wstrict-prototypes -Wsign-compare -Wshadow \
+ -Wchar-subscripts -Wmissing-declarations -Wnested-externs \
+ -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes
+CFLAGS += $(WARN)
+# Compile with 'make DEBUG=true' to enable debugging
DEBUG = false
-
ifeq ($(strip $(DEBUG)),true)
CFLAGS += -g -DDEBUG
endif
-PROGRAMS := inotail inotail-old inotify-watchdir
-
all: inotail
inotail: inotail.o
inotail-old: inotail-old.o
lin Cross1-11/+15 2013-02-09suspend: enable freeze timeout configuration through sysLi Fei1-2/+2 2012-10-26freezer: change ptrace_stop/do_signal_stop to use freezable_schedule()Oleg Nesterov1-12/+1 2012-08-23PM / Freezer: Fix small typo "regrigerator"Sedat Dilek1-1/+1 2012-03-28PM / Sleep: Mitigate race between the freezer and request_firmware()Rafael J. Wysocki1-1/+2 2012-03-28PM / Sleep: Move disabling of usermode helpers to the freezerRafael J. Wysocki1-0/+7 2012-03-04PM / Freezer: Remove references to TIF_FREEZE in commentsMarcos Paulo de Souza1-5/+3 2012-02-13PM / Sleep: Do not check wakeup too often in try_to_freeze_tasks()Rafael J. Wysocki1-7/+9 2012-02-04PM / Freezer: Thaw only kernel threads if freezing of kernel threads failsSrivatsa S. Bhat1-2/+5 2012-01-29PM / Hibernate: Fix s2disk regression related to freezing workqueuesRafael J. Wysocki1-0/+19 2011-11-21freezer: remove unused @sig_only from freeze_task()Tejun Heo1-4/+4 2011-11-21freezer: make freezing() test freeze conditions in effect instead of TIF_FREEZETejun Heo1-4/+11 2011-11-21cgroup_freezer: prepare for removal of TIF_FREEZETejun Heo1-1/+1 2011-11-21freezer: clean up freeze_processes() failure pathTejun Heo1-8/+8 2011-11-21freezer: test freezable conditions while holding freezer_lockTejun Heo1-15/+1 2011-11-21freezer: make freezing indicate freeze condition in effectTejun Heo1-1/+2 2011-11-21freezer: use dedicated lock instead of task_lock() + memory barrierTejun Heo1-2/+0 2011-11-21freezer: don't distinguish nosig tasks on thawTejun Heo1-13/+7 2011-11-21freezer: remove racy clear_freeze_flag() and set PF_NOFREEZE on dead tasksTejun Heo1-2/+1 2011-11-21freezer: rename thaw_process() to __thaw_task() and simplify the implementationTejun Heo1-1/+1 2011-10-16PM / Hibernate: Freeze kernel threads after preallocating memoryRafael J. Wysocki1-10/+20 2011-02-16workqueue, freezer: unify spelling of 'freeze' + 'able' to 'freezable'Tejun Heo1-3/+3 2010-12-24PM / Wakeup: Replace pm_check_wakeup_events() with pm_wakeup_pending()Rafael J. Wysocki1-1/+1 2010-12-24Freezer: Fix a race during freezing of TASK_STOPPED tasksTejun Heo1-0/+6 2010-10-17PM: Allow wakeup events to abort freezing of tasksRafael J. Wysocki1-2/+9 2010-06-29workqueue: reimplement workqueue freeze using max_activeTejun Heo1-2/+19