URL
https://opencores.org/ocsvn/csa/csa/trunk
[/] [csa/] [trunk/] [sw_sim/] [makefile] - Diff between revs 22 and 24
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 22 |
Rev 24 |
|
|
PROJ_NAME ?= decrypt
|
PROJ_NAME ?= decrypt
|
DEBUG ?=y
|
DEBUG ?=y
|
|
|
CFLAGS=-g -ggdb -ansi
|
CFLAGS=-g -ggdb -ansi
|
|
|
ifeq ($(DEBUG),y)
|
ifeq ($(DEBUG),y)
|
CFLAGS+=-DDEBUG
|
CFLAGS+=-DDEBUG
|
endif
|
endif
|
|
|
all:$(PROJ_NAME)
|
all:$(PROJ_NAME)
|
|
|
clean:
|
clean:
|
rm -fr $(PROJ_NAME)
|
rm -fr $(PROJ_NAME)
|
rm -fr *.o
|
rm -fr *.o
|
|
|
test:$(PROJ_NAME)
|
test:$(PROJ_NAME)
|
./$(PROJ_NAME) <../test_dat/$(PROJ_NAME).in >../test_dat/$(PROJ_NAME).out.sw
|
./$(PROJ_NAME) <../test_dat/$(PROJ_NAME).in >../test_dat/$(PROJ_NAME).out.sw
|
|
|
debug:$(PROJ_NAME)
|
debug:$(PROJ_NAME)
|
echo "set args <../test_dat/$(PROJ_NAME).in >../test_dat/$(PROJ_NAME).out.sw " >gdb-command
|
echo "set args <../test_dat/$(PROJ_NAME).in >../test_dat/$(PROJ_NAME).out.sw " >gdb-command
|
ddd ./$(PROJ_NAME) -x gdb-command
|
ddd ./$(PROJ_NAME) -x gdb-command
|
|
|
|
|
key_perm:csa.o key_perm.o
|
key_perm:csa.o key_perm.o
|
|
|
key_schedule:csa.o key_schedule.o
|
key_schedule:csa.o key_schedule.o
|
|
|
block_decypher:csa.o block_decypher.o
|
block_decypher:csa.o block_decypher.o
|
|
|
decrypt:csa.o decrypt.o
|
decrypt:csa.o decrypt.o
|
|
|
stream_cypher:csa.o stream_cypher.o
|
stream_cypher:csa.o stream_cypher.o
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.