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

Subversion Repositories csa

[/] [csa/] [trunk/] [sw_sim/] [makefile] - Blame information for rev 33

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

Line No. Rev Author Line
1 10 simon111
 
2 22 simon111
PROJ_NAME ?= decrypt
3 15 simon111
DEBUG ?=y
4 10 simon111
 
5 22 simon111
CFLAGS=-g -ggdb -ansi
6 10 simon111
 
7 15 simon111
ifeq ($(DEBUG),y)
8
CFLAGS+=-DDEBUG
9
endif
10
 
11 10 simon111
all:$(PROJ_NAME)
12
 
13
clean:
14
        rm -fr $(PROJ_NAME)
15
        rm -fr *.o
16
 
17 20 simon111
test:$(PROJ_NAME)
18 10 simon111
        ./$(PROJ_NAME) <../test_dat/$(PROJ_NAME).in >../test_dat/$(PROJ_NAME).out.sw
19
 
20 22 simon111
debug:$(PROJ_NAME)
21
        echo "set args <../test_dat/$(PROJ_NAME).in >../test_dat/$(PROJ_NAME).out.sw " >gdb-command
22
        ddd ./$(PROJ_NAME) -x gdb-command
23
 
24
 
25 10 simon111
key_perm:csa.o key_perm.o
26
 
27 13 simon111
key_schedule:csa.o key_schedule.o
28 10 simon111
 
29 16 simon111
block_decypher:csa.o block_decypher.o
30 17 simon111
 
31 18 simon111
decrypt:csa.o decrypt.o
32 20 simon111
 
33
stream_cypher:csa.o stream_cypher.o

powered by: WebSVN 2.1.0

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