Compile with -Wall and fix all compiler warnings.
[AROS-Contrib.git] / DiskSpeed / mmakefile.src
blob8efa9e760f8f7a483367d6fc15db1b353909ebb3
2 include $(SRCDIR)/config/aros.cfg
4 DESTDIR := $(AROS_CONTRIB)/DiskSpeed
6 NOWARN_FLAGS := $(NOWARN_UNINITIALIZED)
7 USER_CFLAGS := $(NOWARN_FLAGS) -I$(SRCDIR)/$(CURDIR)\
8  -I$(SRCDIR)/$(CURDIR)/diskspeed -I$(SRCDIR)/$(CURDIR)/scsispeed -O0
10 DISKSHARED := locale diskspeed/DiskSpeedCPU
12 %build_prog mmake=contrib-diskspeed-comp \
13     progname=DiskSpeed targetdir=$(DESTDIR) \
14     files="$(DISKSHARED) diskspeed/DiskSpeed"
16 %build_prog mmake=contrib-scsispeed-comp \
17     progname=ScsiSpeed targetdir=$(DESTDIR) \
18     files="$(DISKSHARED) scsispeed/ScsiSpeed"
19     
20 #MM- contrib-diskspeed : contrib-diskspeed-comp contrib-scsispeed-comp
21 #MM contrib-diskspeed-comp : contrib-diskspeed-docs contrib-diskspeed-icons contrib-diskspeed-catalogs
22 #MM contrib-scsispeed-comp : contrib-diskspeed-docs contrib-scsispeed-icons contrib-diskspeed-catalogs
24 #MM
25 contrib-diskspeed-docs : $(DESTDIR)/DiskSpeed.doc
27 $(DESTDIR)/DiskSpeed.doc : DiskSpeed.doc | $(DESTDIR)
28         %mkdirs_q $(DESTDIR)
29         cp $< $@
31 %rule_makedirs dirs=$(DESTDIR)
33 %common