mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-12-01 00:43:08 +01:00
Minor
This commit is contained in:
parent
3a47728b7e
commit
3cfc0b2611
9
Makefile
9
Makefile
@ -7,8 +7,11 @@ DEP := $(OBJ:.o=.d)
|
|||||||
PRE := $(wildcard prev/*.sh)
|
PRE := $(wildcard prev/*.sh)
|
||||||
GEN := gen/prev/scripts.h gen/server.h gen/helpers.h
|
GEN := gen/prev/scripts.h gen/server.h gen/helpers.h
|
||||||
|
|
||||||
CFLAGS += -I. -Os -MD -Wall -Wextra -Wno-unused-parameter
|
O := -Os
|
||||||
LDFLAGS += -lmagic -lcrypto
|
LIBS := magic crypto
|
||||||
|
|
||||||
|
CFLAGS += $(O) -MD -Wall -Wextra -Wno-unused-parameter
|
||||||
|
LDFLAGS += $(LIBS:%=-l%)
|
||||||
|
|
||||||
all: ctpv
|
all: ctpv
|
||||||
|
|
||||||
@ -49,7 +52,7 @@ gen/helpers.h: helpers.sh embed/embed
|
|||||||
embed/embed -p scr_ helpers.sh > $@
|
embed/embed -p scr_ helpers.sh > $@
|
||||||
|
|
||||||
embed/embed: make_embed
|
embed/embed: make_embed
|
||||||
@:
|
@ # do nothing
|
||||||
|
|
||||||
-include $(DEP)
|
-include $(DEP)
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "server.h"
|
#include "server.h"
|
||||||
#include "preview.h"
|
#include "preview.h"
|
||||||
#include "previews.h"
|
#include "../previews.h"
|
||||||
|
|
||||||
const char any_type[] = ANY_TYPE;
|
const char any_type[] = ANY_TYPE;
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "shell.h"
|
#include "shell.h"
|
||||||
#include "gen/server.h"
|
#include "../gen/server.h"
|
||||||
|
|
||||||
#define FIFO_FILENAME_SIZE 256
|
#define FIFO_FILENAME_SIZE 256
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "shell.h"
|
#include "shell.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
#include "gen/helpers.h"
|
#include "../gen/helpers.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns string with helpers.sh prepended
|
* Returns string with helpers.sh prepended
|
||||||
|
Loading…
Reference in New Issue
Block a user