Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Unified Diff: Makefile

Issue 6880189: Fixed recursive variable in Makefile (Closed) Base URL: ssh://gitrw.chromium.org:9222/ktop.git@master
Patch Set: Deleted commented out code. Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Makefile
diff --git a/Makefile b/Makefile
index b4a65f623ef6836818fd0820f7cce0ec9b64133f..31f192e0930f89429729ca60de1ac3de7a07f97a 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ endif
LIBS += -lrt -lm -lpthread -lncurses
INC += -I.
-name := $(PN) #$(basename $(notdir $(PWD)))
+name := $(basename $(notdir $(PWD)))
target := $(shell uname -m)
objdir :=.$(target)
sources := $(wildcard *.c)
@@ -40,8 +40,6 @@ CFLAGS+=-g -Wall -Wstrict-prototypes -Werror \
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
$(.INCLUDES) $(INC) \
-DESTDIR ?= $(bin)
-
$(objdir)/%.o : %.c Makefile
@ mkdir -p $(objdir)
$(CC) $(CFLAGS) -c $< -o $@
@@ -62,6 +60,11 @@ clean:
@rm -f $(bin)/$(opus)
test:
+ @ echo "Test"
@ echo "sources=$(sources)"
@ echo "objects=$(objects)"
@ echo "CFLAGS=$(CFLAGS)"
+ @ echo "bin=$(bin)"
+ @ echo "objdir=$(objdir)"
+ @ echo "opus=$(opus)"
+ @ echo "name=$(name)"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698