Suggestion from "mgh".
[open-ps2-loader.git] / pc / iso2opl / Makefile
bloba588f6d3d1021ad93f19a62991122b25bc87ab23
1 ifndef CC
2 CC = gcc
3 endif
5 CFLAGS = -std=gnu99 -Wall -pedantic -I/usr/include -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
6 #CFLAGS += -DDEBUG
8 ifeq ($(_WIN32),1)
9 CFLAGS += -D_WIN32
10 endif
13 all: bin/iso2opl
15 clean:
16 rm -f bin/*iso2opl* src/*.o
18 rebuild: clean all
20 bin/iso2opl: src/iso2opl.o
21 @mkdir -p bin
22 $(CC) $(CFLAGS) src/iso2opl.c src/isofs.c -o bin/iso2opl