Compare commits

..

No commits in common. "e4d625c6fa3ced2333208fe5abd9a6668892561b" and "78f7064c988d210bee39b6fda358238432a28ca3" have entirely different histories.

View File

@ -12,8 +12,8 @@ SRC = minrss.c util.c net.c handlers.c
OBJ = $(SRC:.c=.o) OBJ = $(SRC:.c=.o)
INCS = `$(PKG_CONFIG) --cflags libxml-2.0` `$(PKG_CONFIG) --cflags libcurl` $(JSONINC) INCS = `$(PKG_CONFIG) --cflags libxml-2.0` `$(PKG_CONFIG) --cflags libcurl` $(JSONINC)
LIBS = `$(PKG_CONFIG) --libs libxml-2.0` `$(PKG_CONFIG) --libs libcurl` $(JSONLIBS) LIBS = `$(PKG_CONFIG) --libs libxml-2.0` `$(PKG_CONFIG) --libs libcurl` $(JSONLIBS)
WFLAGS = -Wall -Wpedantic -Wextra WARN = -Wall -Wpedantic -Wextra
CFLAGS = -std=c99 $(INCS) $(WFLAGS) -DVERSION=\"$(VERSION)\" $(JSONFLAG) CFLAGS = -std=c99 $(INCS) $(LIBS) $(WARN) -DVERSION=\"$(VERSION)\" $(JSONFLAG)
all: config.h minrss all: config.h minrss
@ -24,10 +24,10 @@ config.h:
cp config.def.h config.h cp config.def.h config.h
.c.o: .c.o:
$(CC) $(CFLAGS) -c $< -o $@ $(CC) $(CFLAGS) -c $<
minrss: $(OBJ) minrss: $(OBJ)
$(CC) -o $@ $(OBJ) $(LIBS) $(CC) $(CFLAGS) -o $@ $(OBJ)
clean: clean:
rm -f minrss $(OBJ) rm -f minrss $(OBJ)