fixup for build options
This commit is contained in:
parent
00cf0f7b6a
commit
ace6dab57a
|
|
@ -1,5 +1,6 @@
|
||||||
# Ignore the build and lib dirs
|
# Ignore the build and lib dirs
|
||||||
build/*
|
build/*
|
||||||
|
|
||||||
testing/*.lp
|
testing/*.lp
|
||||||
#lib/*
|
#lib/*
|
||||||
|
|
||||||
|
|
@ -8,3 +9,5 @@ bin/*
|
||||||
|
|
||||||
# Ignore temp editor files
|
# Ignore temp editor files
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
|
!.gitkeep
|
||||||
2
Makefile
2
Makefile
|
|
@ -7,7 +7,7 @@ SRCEXT := c
|
||||||
SOURCES := $(shell find $(SRCDIR) -type f -name *.$(SRCEXT))
|
SOURCES := $(shell find $(SRCDIR) -type f -name *.$(SRCEXT))
|
||||||
OBJECTS := $(patsubst $(SRCDIR)/%,$(BUILDDIR)/%,$(SOURCES:.$(SRCEXT)=.o))
|
OBJECTS := $(patsubst $(SRCDIR)/%,$(BUILDDIR)/%,$(SOURCES:.$(SRCEXT)=.o))
|
||||||
CFLAGS := -lreadline
|
CFLAGS := -lreadline
|
||||||
LIB := -L lib -lreadline
|
LIB := -L lib -lutil -lreadline
|
||||||
INC := -I include
|
INC := -I include
|
||||||
|
|
||||||
$(TARGET): $(OBJECTS)
|
$(TARGET): $(OBJECTS)
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
.
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
.
|
||||||
Loading…
Reference in New Issue