1 # if you want to change/override some variables, do so in a file called
2 # config.mak, which is gets included automatically if it exists.
8 SRCS
= sockssrv.c server.c sblist.c sblist_delete.c
13 CFLAGS
+= -Wall
-std
=c99
20 install -d
$(DESTDIR
)/$(bindir)
21 install -D
-m
755 $(PROG
) $(DESTDIR
)/$(bindir)/$(PROG
)
28 $(CC
) $(CPPFLAGS
) $(CFLAGS
) $(INC
) $(PIC
) -c
-o
$@
$<
31 $(CC
) $(LDFLAGS
) $(OBJS
) $(LIBS
) -o
$@
33 .PHONY
: all clean install