projects
/
dus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added the information from uname in the help.
[dus.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
d147886
..
fc4b561
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-26,13
+26,15
@@
MAN_PATH = /usr/share/man/man1
LDFLAGS=
LDFLAGS=
+UNAME=\"$(shell uname -srmn)\"
+
ifeq ($(DEBUG),yes)
OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
else
OPTIMIZE_FLAG = -O2
endif
ifeq ($(DEBUG),yes)
OPTIMIZE_FLAG = -ggdb3 -DDEBUG -fno-omit-frame-pointer
else
OPTIMIZE_FLAG = -O2
endif
-CFLAGS = -Wall -ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(OPTIMIZE_FLAG)
+CFLAGS = -Wall -ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DUNAME="$(UNAME)"
$(OPTIMIZE_FLAG)
all: dus
all: dus