diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | timeadd.c | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -3,6 +3,9 @@ XCBV_LDFLAGS += $(shell pkg-config --libs xcb-image xpm) -lrt RGB_TXT := /usr/share/vim/vim73/rgb.txt +timeadd: timeadd.c + $(CC) -g -Wall -Werror -Wextra $(CFLAGS) -o $(OUTDIR)$@ $< -lrt + xcbviewfs: xcbviewfs.c colorlookup.c $(CC) $(XCBV_CFLAGS) -o $@ $< colorlookup.c $(XCBV_LDFLAGS) @@ -36,7 +36,7 @@ struct timespec timediff(struct timespec begin, struct timespec end) { int main(int argc, char **argv) { const char *out_format; char buf[4096]; - struct timespec tp[2] = { { 0 } }; + struct timespec tp[2] = { { 0, 0 } }; int tp_i = 0; int opt; bool diff = false; |