Makefile
资源名称:xtractor.zip [点击查看]
上传用户:xmgzy123
上传日期:2007-01-07
资源大小:373k
文件大小:2k
源码类别:
SCSI/ASPI
开发平台:
WINDOWS
- # rm and cp are available in the Virtually Unix archive
- # http://www.itribe.net/virtunix
- RM = rm -f
- CD = cd
- CFLAGS = -O2 -c -Wall
- DFLAGS =
- #CFLAGS = -O0 -ggdb -c -Wall
- #DFLAGS = -ggdb
- MINGW = d:/mingw
- CC = gcc
- WINDRES = windres
- OBJ = xtractor.o xtractorrc.o trackwnd.o config.o globals.o cddlg.o outdlg.o
- dirsel.o gauge.o wrqueue.o riptracks.o mp3dlg.o id3.o statusbar.o
- about.o cddbdlg.o ripseg.o rangeslider.o
- all: xtractor.exe
- xtractor.exe: $(OBJ)
- $(CC) $(DFLAGS) -o xtractor $(OBJ) -lcomctl32 -lgdi32 -L. -lakrip32 -lwsock32 -mwindows
- xtractor.o: xtractor.c resources.h trackwnd.h globals.h id3.h cddbdlg.h
- $(CC) $(CFLAGS) -o $@ $<
- trackwnd.o: trackwnd.c trackwnd.h resources.h globals.h statusbar.h
- $(CC) $(CFLAGS) -o $@ $<
- config.o: config.c resources.h globals.h gauge.h
- $(CC) $(CFLAGS) -o $@ $<
- globals.o: globals.c
- $(CC) $(CFLAGS) -o $@ $<
- cddlg.o: cddlg.c resources.h globals.h
- $(CC) $(CFLAGS) -o $@ $<
- cddbdlg.o: cddbdlg.c resources.h globals.h cddbdlg.h
- $(CC) $(CFLAGS) -o $@ $<
- outdlg.o: outdlg.c resources.h globals.h
- $(CC) $(CFLAGS) -o $@ $<
- dirsel.o: dirsel.c resources.h globals.h
- $(CC) $(CFLAGS) -o $@ $<
- gauge.o: gauge.c gauge.h
- $(CC) $(CFLAGS) -o $@ $<
- wrqueue.o: wrqueue.c wrqueue.h
- $(CC) $(CFLAGS) -o $@ $<
- riptracks.o: riptracks.c riptracks.h resources.h globals.h trackwnd.h gauge.h id3.h bladedll.h
- $(CC) $(CFLAGS) -o $@ $<
- mp3dlg.o: mp3dlg.c globals.h resources.h
- $(CC) $(CFLAGS) -o $@ $<
- id3.o: id3.c id3.h resources.h
- $(CC) $(CFLAGS) -o $@ $<
- statusbar.o: statusbar.c globals.h
- $(CC) $(CFLAGS) -o $@ $<
- about.o: about.c resources.h
- $(CC) $(CFLAGS) -o $@ $<
- ripseg.o: ripseg.c resources.h
- $(CC) $(CFLAGS) -o $@ $<
- rangeslider.o: rangeslider.c rangeslider.h
- $(CC) $(CFLAGS) -o $@ $<
- xtractorrc.o: xtractor.rc resources.h toolbar.bmp
- $(WINDRES) -i xtractor.rc -o xtractorrc.o
- clean:
- $(RM) *.o *~ *.exe *.dat