Lines 1-14
Link Here
|
|
|
1 |
.POSIX: |
2 |
|
1 |
CC = gcc |
3 |
CC = gcc |
2 |
CFLAGS = -O2 |
4 |
CFLAGS = -O2 |
3 |
|
5 |
|
4 |
default: ircstats |
6 |
default: ircstats |
5 |
|
7 |
|
6 |
ircstats: src/ircstats.c |
8 |
ircstats: src/ircstats.c |
7 |
$(CC) $(CFLAGS) src/ircstats.c -o src/ircstats |
9 |
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) src/ircstats.c -o src/ircstats $(LIBS) |
8 |
install -m 755 src/ircstats . |
10 |
install -m 755 src/ircstats . |
9 |
|
11 |
|
10 |
install: |
12 |
install: |
11 |
@echo "You'll have to do this manually." |
13 |
@echo "You'll have to do this manually." |
|
|
14 |
@false |
12 |
|
15 |
|
13 |
clean: |
16 |
clean: |
14 |
rm -f src/*.o *~ core src/*.i ircstats src/ircstats data/* html/*.html |
17 |
rm -f src/*.o *~ core src/*.i ircstats src/ircstats data/* html/*.html |
|
|
18 |
|
19 |
.PHONY: install clean |