Skip to content

Commit

Permalink
image: add image processing fundamental (wip)
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev committed Dec 28, 2024
1 parent 1069898 commit 64110d5
Show file tree
Hide file tree
Showing 6 changed files with 19,071 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fundamentals/image-processing/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bin
tags
23 changes: 23 additions & 0 deletions fundamentals/image-processing/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
CC = g++
SRCDIR = src
BINDIR = bin

SOURCES := $(wildcard $(SRCDIR)/*.cpp)
TARGETS := $(patsubst $(SRCDIR)/%.cpp, %, $(SOURCES))

CXXFLAGS = -std=c++11 -Wall -Wextra -Wpedantic -Wnoexcept -fexceptions -Wnoexcept-type

.PHONY: all clean

all: $(TARGETS)

$(TARGETS): % : $(SRCDIR)/%.cpp | bindir
$(CC) $(CXXFLAGS) -g -o ${BINDIR}/$@ $< $(LDFLAGS)

bindir: bin

bin:
@mkdir -p $(BINDIR)

clean:
${RM} -rf $(BINDIR)
Binary file added fundamentals/image-processing/apple.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 64110d5

Please sign in to comment.