projects
/
dus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed how the '/' is printed after dir names.
[dus.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
692c075
..
3325911
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-26,7
+26,7
@@
MAN_PATH = /usr/share/man/man1
LDFLAGS=
LDFLAGS=
-
REVISION_NUMBER=\"$(shell cat REVISION_NUMBER
)\"
+
UNAME=\"$(shell uname -srmn
)\"
ifeq ($(DEBUG),yes)
OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
ifeq ($(DEBUG),yes)
OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
@@
-34,7
+34,7
@@
else
OPTIMIZE_FLAG = -O2
endif
OPTIMIZE_FLAG = -O2
endif
-CFLAGS = -Wall -
ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DREVISION_NUMBER=$(REVISION_NUMBER)
$(OPTIMIZE_FLAG)
+CFLAGS = -Wall -
Wextra -ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNAME="$(UNAME)"
$(OPTIMIZE_FLAG)
all: dus
all: dus
@@
-43,12
+43,12
@@
dus: dus.o
install: dus
install -m 755 dus $(BINARY_PATH)
install: dus
install -m 755 dus $(BINARY_PATH)
-
#
install -m 644 dus.1 $(MAN_PATH)
-
#
gzip $(MAN_PATH)/dus.1
+ install -m 644 dus.1 $(MAN_PATH)
+ gzip $(MAN_PATH)/dus.1
uninstall:
rm $(BINARY_PATH)/dus
uninstall:
rm $(BINARY_PATH)/dus
-
#
rm $(MAN_PATH)/dus.1.gz
+ rm $(MAN_PATH)/dus.1.gz
clean:
rm -f *.o dus
clean:
rm -f *.o dus