diff options
author | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-04-05 16:34:26 +0000 |
---|---|---|
committer | Chmouel Boudjnah <chmouel@mandriva.org> | 2000-04-05 16:34:26 +0000 |
commit | d42a67c192d2c69561efec5cc1a33c4ce1db1ccd (patch) | |
tree | ee59bc4255c17ee5dac11be247ceff22ce6b7abc /Makefile | |
parent | daa6a8ea90487345093fb76b904d069e2ba9cf55 (diff) | |
download | numlock-d2b2f3cf2892c0bc04cc3f3c2dbaf10553d5594d.tar numlock-d2b2f3cf2892c0bc04cc3f3c2dbaf10553d5594d.tar.gz numlock-d2b2f3cf2892c0bc04cc3f3c2dbaf10553d5594d.tar.bz2 numlock-d2b2f3cf2892c0bc04cc3f3c2dbaf10553d5594d.tar.xz numlock-d2b2f3cf2892c0bc04cc3f3c2dbaf10553d5594d.zip |
Initial revisionCookertopic/MandrakeSoft
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4e67373 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +TOP= +CFLAGS=-g -O2 -Wall +CC=gcc +FLAGS=-lX11 -lXtst -I/usr/X11R6/include -L/usr/X11R6/lib + +enable_X11_numlock: enable_X11_numlock.c + $(CC) $(CFLAGS) $(FLAGS) -o $@ $< + +all: enable_X11_numlock + +clean: + rm -f enable_X11_numlock core *.o + +install: all + install -d $(TOP)/usr/X11R6/bin/ + install -d $(TOP)/etc/{profile.d,rc.d/init.d}/ + + install -m755 enable_X11_numlock $(TOP)/usr/X11R6/bin + install -m755 numlock $(TOP)/etc/rc.d/init.d/ + install -m755 numlock.sh $(TOP)/etc/profile.d/
\ No newline at end of file |