From 120b7ad7c87bcea38e75b8dc0bc9514474e2f707 Mon Sep 17 00:00:00 2001 From: Kyle Isom Date: Sat, 15 Feb 2020 00:10:09 -0800 Subject: [PATCH] working on test build --- libdirutils/Makefile.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libdirutils/Makefile.in b/libdirutils/Makefile.in index aaff037..6924842 100644 --- a/libdirutils/Makefile.in +++ b/libdirutils/Makefile.in @@ -11,7 +11,8 @@ MANDIR ?= $MANDIR CFLAGS += -Wall -Wextra -pedantic -Wshadow -Wpointer-arith -Wcast-align CFLAGS += -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations CFLAGS += -Wnested-externs -Winline -Wno-long-long -Wunused-variable -CFLAGS += -Wstrict-prototypes -Werror -ansi +CFLAGS += -Wstrict-prototypes -Werror -std=c99 -L/usr/local/lib +CFLAGS += -I/usr/local/include CFLAGS += OS_CFLAGS all: $(TARGET) @@ -52,7 +53,7 @@ test: dirutils-test TEST_LDFLAGS := -L/usr/local/lib dirutils-test: $(TARGET) dirutils_test.o - $(CC) -o $@ $(TARGET) $(TEST_LDFLAGS) dirutils_test.o + $(CC) -o $@ $(TEST_LDFLAGS) dirutils_test.o $(TARGET) .c.o: $(CC) -c ${CFLAGS} $?