Skip to content

Commit

Permalink
Add .image format extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Hutcheson committed Aug 30, 2015
1 parent 7042fc1 commit 144fbf1
Show file tree
Hide file tree
Showing 2 changed files with 595 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,25 +1,30 @@
SHELL=C:/Windows/System32/cmd.exe
volobjects = main.o
animobjects = animEx.o
imageobjects = imageEx.o
LIBPATH = -L./lib
LIB = -lFreeImage
HEADERPATH = -I./include
STATICGCC = -static-libgcc -static-libstdc++

all : volEx.exe animEx.exe
all : volEx.exe animEx.exe imageEx.exe

volEx.exe : $(volobjects)
g++ -Wall -O2 -g -ggdb -o $@ $(volobjects) $(LIBPATH) $(LIB) $(STATICGCC) $(HEADERPATH)

animEx.exe : $(animobjects)
g++ -Wall -O2 -g -ggdb -o $@ $(animobjects) $(LIBPATH) $(LIB) $(STATICGCC) $(HEADERPATH)

imageEx.exe : $(imageobjects)
g++ -Wall -O2 -g -ggdb -o $@ $(imageobjects) $(LIBPATH) $(LIB) $(STATICGCC) $(HEADERPATH)

%.o: %.cpp
g++ -O2 -c -MMD -g -ggdb -o $@ $< $(HEADERPATH)

-include $(volobjects:.o=.d)
-include $(animobjects:.o=.d)
-include $(imageobjects:.o=.d)

.PHONY : clean
clean :
rm -rf volEx.exe animEx.exe *.o *.d
rm -rf volEx.exe animEx.exe imageEx.exe *.o *.d
Loading

0 comments on commit 144fbf1

Please sign in to comment.