This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dvdtoimg/Makefile

28 lines
493 B
Makefile
Raw Permalink Normal View History

2013-10-22 04:27:34 +01:00
OBJS = dvdtoimg.o md5.o sha1.o crc32.o
2013-10-21 15:00:02 +01:00
CC = g++
DEBUG = -g
CFLAGS = -Wall -O0 -W -c $(DEBUG)
LFLAGS = -Wall $(DEBUG)
LIBS = -lm -lcdio
dvdtoimg : $(OBJS)
$(CC) $(LFLAGS) $(LIBS) $(OBJS) -o dvdtoimg
dvdtoimg.o : dvdtoimg.cpp
$(CC) $(CFLAGS) dvdtoimg.cpp
2013-10-22 04:27:34 +01:00
md5.o : md5.c md5.h
$(CC) $(CFLAGS) md5.c
sha1.o : sha1.c sha1.h
$(CC) $(CFLAGS) sha1.c
crc32.o : crc32.c crc32.h
$(CC) $(CFLAGS) crc32.c
2013-10-21 15:00:02 +01:00
clean:
\rm *.o dvdtoimg
tar: $(OBJS)
tar jcfv dvdtoimg.tbz readme.txt Makefile dvdtoimg