Skip to content

Commit 94cdae2

Browse files
committed
apps/basic: Clean up Makefile
Signed-off-by: Akira Moroo <[email protected]>
1 parent 9481148 commit 94cdae2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

apps/basic/Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44

55
PROGS = libsvchook_basic.so
66

7-
CC ?= gcc
87
CLANG_FORMAT ?= clang-format
98

109
CLEANFILES = $(PROGS) *.o *.d
1110

12-
SRCDIR ?= ./
13-
14-
NO_MAN=
15-
CFLAGS = -O3 -pipe
16-
CFLAGS += -Werror -Wall -Wunused-function
11+
CFLAGS = -O3
12+
CFLAGS += -pipe
13+
CFLAGS += -Werror
14+
CFLAGS += -Wall
15+
CFLAGS += -Wunused-function
1716
CFLAGS += -Wextra
1817
CFLAGS += -fPIC
1918

@@ -22,7 +21,6 @@ LDFLAGS += -shared
2221
C_SRCS = main.c
2322
OBJS = $(C_SRCS:.c=.o)
2423

25-
.PHONY: all
2624
all: $(PROGS)
2725

2826
$(PROGS): $(OBJS)
@@ -33,3 +31,5 @@ clean:
3331

3432
fmt:
3533
$(CLANG_FORMAT) -i $(C_SRCS)
34+
35+
.PHONY: all clean fmt

0 commit comments

Comments
 (0)