We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9481148 commit 94cdae2Copy full SHA for 94cdae2
apps/basic/Makefile
@@ -4,16 +4,15 @@
4
5
PROGS = libsvchook_basic.so
6
7
-CC ?= gcc
8
CLANG_FORMAT ?= clang-format
9
10
CLEANFILES = $(PROGS) *.o *.d
11
12
-SRCDIR ?= ./
13
-
14
-NO_MAN=
15
-CFLAGS = -O3 -pipe
16
-CFLAGS += -Werror -Wall -Wunused-function
+CFLAGS = -O3
+CFLAGS += -pipe
+CFLAGS += -Werror
+CFLAGS += -Wall
+CFLAGS += -Wunused-function
17
CFLAGS += -Wextra
18
CFLAGS += -fPIC
19
@@ -22,7 +21,6 @@ LDFLAGS += -shared
22
21
C_SRCS = main.c
23
OBJS = $(C_SRCS:.c=.o)
24
25
-.PHONY: all
26
all: $(PROGS)
27
28
$(PROGS): $(OBJS)
@@ -33,3 +31,5 @@ clean:
33
31
34
32
fmt:
35
$(CLANG_FORMAT) -i $(C_SRCS)
+
+.PHONY: all clean fmt
0 commit comments