Chromium Code Reviews| Index: Makefile |
| diff --git a/Makefile b/Makefile |
| index b4a65f623ef6836818fd0820f7cce0ec9b64133f..429e851a5d5a73a63c79466c66a031743a5e8796 100644 |
| --- a/Makefile |
| +++ b/Makefile |
| @@ -24,7 +24,8 @@ endif |
| LIBS += -lrt -lm -lpthread -lncurses |
| INC += -I. |
| -name := $(PN) #$(basename $(notdir $(PWD))) |
| +#name := $(PN) #$(basename $(notdir $(PWD))) |
| +name := $(basename $(notdir $(PWD))) |
|
Luigi Semenzato
2011/04/25 23:28:45
I'd be bold and remove the previous line instead o
Paul T
2011/04/26 00:02:26
Fixed.
|
| target := $(shell uname -m) |
| objdir :=.$(target) |
| sources := $(wildcard *.c) |
| @@ -40,8 +41,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 +61,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)" |