OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [stdalone/] [dskchk2/] [Makefile] - Blame information for rev 260

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 198 hellwig
#
2
# Makefile for "dskchk2", a program to check the hard disk
3
#
4
 
5
BUILD = ../../build
6
 
7
DISK_IMG = disk.img
8
NUM_CHECKS = 5000
9
 
10
.PHONY:         all install run chk clean
11
 
12
all:            genimg chkimg
13
                $(MAKE) -C dskchk2 all
14
 
15
install:        genimg chkimg
16
                $(MAKE) -C dskchk2 install
17
 
18
run:            $(DISK_IMG)
19
                $(MAKE) -C dskchk2 run
20
 
21
chk:            chkimg $(DISK_IMG)
22
                ./chkimg $(DISK_IMG) $(NUM_CHECKS)
23
 
24
chkimg:         chkimg.c
25 259 hellwig
                gcc -Wall -o chkimg chkimg.c
26 198 hellwig
 
27
$(DISK_IMG):    genimg
28
                ./genimg $(DISK_IMG)
29
 
30
genimg:         genimg.c
31 259 hellwig
                gcc -Wall -o genimg genimg.c
32 198 hellwig
 
33
clean:
34
                $(MAKE) -C dskchk2 clean
35
                rm -f *~ genimg chkimg $(DISK_IMG)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.