|
Line
Link Here
|
| 0 |
-- bsod-0.1/Makefile |
0 |
++ bsod-0.1/Makefile |
|
Lines 1-5
Link Here
|
| 1 |
VERSION=0.1 |
1 |
VERSION=0.1 |
| 2 |
|
2 |
|
|
|
3 |
PREFIX=/usr/local |
| 3 |
DEBUG=-g -pedantic #-pg #-fprofile-arcs |
4 |
DEBUG=-g -pedantic #-pg #-fprofile-arcs |
| 4 |
LDFLAGS=-lncurses $(DEBUG) |
5 |
LDFLAGS=-lncurses $(DEBUG) |
| 5 |
CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) |
6 |
CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) |
|
Lines 12-21
Link Here
|
| 12 |
$(CC) -Wall $(OBJS) $(LDFLAGS) -o bsod |
13 |
$(CC) -Wall $(OBJS) $(LDFLAGS) -o bsod |
| 13 |
|
14 |
|
| 14 |
install: bsod |
15 |
install: bsod |
| 15 |
cp bsod $(DESTDIR)/usr/local/bin |
16 |
install -D bsod $(DESTDIR)$(PREFIX)/bin/bsod |
| 16 |
|
17 |
|
| 17 |
uninstall: clean |
18 |
uninstall: clean |
| 18 |
rm -f $(DESTDIR)/usr/local/bin/bsod |
19 |
rm -f $(DESTDIR)$(PREFIX)/bin/bsod |
| 19 |
|
20 |
|
| 20 |
clean: |
21 |
clean: |
| 21 |
rm -f $(OBJS) bsod core gmon.out *.da |
22 |
rm -f $(OBJS) bsod core gmon.out *.da |