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

Subversion Repositories csa

[/] [csa/] [trunk/] [pc/] [makefile] - Blame information for rev 30

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 simon111
 
2
 
3
CFLAGS+=  -g -ggdb -Wall
4
CXXFLAGS+=-g -ggdb -Wall
5
LDFLAGS=-lusb -lX11 -lstdc++
6
 
7
TARGET=csa_test
8
 
9
run:$(TARGET)
10
        if [[ ! -z "$(shell /sbin/lsmod | grep usbtest)" ]] ; then \
11
                /sbin/rmmod usbtest ;                        \
12
        fi
13
        if [[ -z "$(shell cat /proc/mounts | grep debugfs)" ]];  then                   \
14
               mount -t debugfs none_debugs /sys/kernel/debug;      \
15
        fi
16
        ./$(TARGET)
17
 
18
 
19
 
20
clean:
21
        rm -fr *.o
22
        rm -fr $(TARGET)
23
 
24
SRCS=   csa.c      \
25
        imgdev.c   \
26
        simcsa.c   \
27
        test.c
28
 
29
OBJS=$(SRCS:.c=.o)
30
 
31
.depend:
32
        rm -fr .depend
33
        for f in $(SRCS);        \
34
        do                       \
35
                gcc -MM -M $$f>>.depend;       \
36
        done
37
 
38
 
39
csa_test:csa_test.o imgdev.o
40
 
41
include .depend
42
 
43
 

powered by: WebSVN 2.1.0

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