Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
build
bin
nbproject/
*.a
Expand Down
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ OBJECTS=$(patsubst %.cpp,%.o,$(SOURCES))
TEST_SRC=$(wildcard tests/*_tests.cpp)
TESTS=$(patsubst %.cpp,%,$(TEST_SRC))

TARGET=build/isextract
TARGET=bin/isextract
SO_TARGET=$(patsubst %.a,%.so,$(TARGET))

# The Target Build
Expand All @@ -27,7 +27,6 @@ $(TARGET): build $(OBJECTS)
$(CC) $(OBJECTS) -o $(TARGET)

build:
@mkdir -p build
@mkdir -p bin

# The Cleaner
Expand All @@ -39,8 +38,8 @@ clean:

# The Install
install: all
install -d $(DESTDIR)/$(PREFIX)/lib/
install $(TARGET) $(DESTDIR)/$(PREFIX)/lib/
install -d $(DESTDIR)/$(PREFIX)/bin/
install $(TARGET) $(DESTDIR)/$(PREFIX)/bin/

# The Checker
BADFUNCS='[^_.>a-zA-Z0-9](str(n?cpy|n?cat|xfrm|n?dup|str|pbrk|tok|_)|stpn?cpy|a?sn?printf|byte_)'
Expand Down