unalz/Makefile.win
2020-05-05 20:22:38 +02:00

77 lines
2.9 KiB
Text
Executable file

# Project: unalz
# Makefile created by Dev-C++ 4.9.9.0
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = main.o UnAlz.o UnAlzBz2decompress.o UnAlzBzip2.o UnAlzbzlib.o bzip2/blocksort.o bzip2/compress.o bzip2/crctable.o bzip2/huffman.o bzip2/randtable.o zlib/adler32.o zlib/crc32.o zlib/infback.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/zutil.o $(RES)
LINKOBJ = main.o UnAlz.o UnAlzBz2decompress.o UnAlzBzip2.o UnAlzbzlib.o bzip2/blocksort.o bzip2/compress.o bzip2/crctable.o bzip2/huffman.o bzip2/randtable.o zlib/adler32.o zlib/crc32.o zlib/infback.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/zutil.o $(RES)
LIBS = -L"C:/Dev-Cpp/lib" -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
INCS = -I"C:/Dev-Cpp/include"
CXXINCS = -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"
BIN = bin/unalz.exe
CXXFLAGS = $(CXXINCS) -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_CONSOLE -D_MBCS
CFLAGS = $(INCS) -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_CONSOLE -D_MBCS
.PHONY: all all-before all-after clean clean-custom
all: all-before bin/unalz.exe all-after
clean: clean-custom
rm -f $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "bin\unalz.exe" $(LIBS)
main.o: main.cpp
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)
UnAlz.o: UnAlz.cpp
$(CPP) -c UnAlz.cpp -o UnAlz.o $(CXXFLAGS)
UnAlzBz2decompress.o: UnAlzBz2decompress.c
$(CC) -c UnAlzBz2decompress.c -o UnAlzBz2decompress.o $(CFLAGS)
UnAlzBzip2.o: UnAlzBzip2.cpp
$(CPP) -c UnAlzBzip2.cpp -o UnAlzBzip2.o $(CXXFLAGS)
UnAlzbzlib.o: UnAlzbzlib.c
$(CC) -c UnAlzbzlib.c -o UnAlzbzlib.o $(CFLAGS)
bzip2/blocksort.o: bzip2/blocksort.c
$(CC) -c bzip2/blocksort.c -o bzip2/blocksort.o $(CFLAGS)
bzip2/compress.o: bzip2/compress.c
$(CC) -c bzip2/compress.c -o bzip2/compress.o $(CFLAGS)
bzip2/crctable.o: bzip2/crctable.c
$(CC) -c bzip2/crctable.c -o bzip2/crctable.o $(CFLAGS)
bzip2/huffman.o: bzip2/huffman.c
$(CC) -c bzip2/huffman.c -o bzip2/huffman.o $(CFLAGS)
bzip2/randtable.o: bzip2/randtable.c
$(CC) -c bzip2/randtable.c -o bzip2/randtable.o $(CFLAGS)
zlib/adler32.o: zlib/adler32.c
$(CC) -c zlib/adler32.c -o zlib/adler32.o $(CFLAGS)
zlib/crc32.o: zlib/crc32.c
$(CC) -c zlib/crc32.c -o zlib/crc32.o $(CFLAGS)
zlib/infback.o: zlib/infback.c
$(CC) -c zlib/infback.c -o zlib/infback.o $(CFLAGS)
zlib/inffast.o: zlib/inffast.c
$(CC) -c zlib/inffast.c -o zlib/inffast.o $(CFLAGS)
zlib/inflate.o: zlib/inflate.c
$(CC) -c zlib/inflate.c -o zlib/inflate.o $(CFLAGS)
zlib/inftrees.o: zlib/inftrees.c
$(CC) -c zlib/inftrees.c -o zlib/inftrees.o $(CFLAGS)
zlib/zutil.o: zlib/zutil.c
$(CC) -c zlib/zutil.c -o zlib/zutil.o $(CFLAGS)