Removed POSIX specific code, got variable values

This commit is contained in:
Nate Choe
2022-06-06 12:01:59 -05:00
parent ed99ca0223
commit 39e8f0f84b
7 changed files with 121 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ SRC = $(wildcard src/*.c)
OBJ = $(subst .c,.o,$(subst src,work,$(SRC)))
LDFLAGS =
CFLAGS := -O2 -pipe -Wall -Wpedantic -Wshadow -ansi
CFLAGS += -Isrc/include/ -D_POSIX_C_SOURCE=2
CFLAGS += -Isrc/include/
INSTALLDIR := /usr/bin/
OUT = ncdg