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

Subversion Repositories csa

[/] [csa/] [trunk/] [sw_sim/] [makefile] - Diff between revs 24 and 34

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 24 Rev 34
Line 1... Line 1...
 
 
PROJ_NAME ?= decrypt
PROJ_NAME ?= decrypt
DEBUG ?=y
DEBUG ?=y
 
 
CFLAGS=-g -ggdb -ansi
CFLAGS=-g -ggdb -ansi -Wall
 
 
ifeq ($(DEBUG),y)
ifeq ($(DEBUG),y)
CFLAGS+=-DDEBUG
CFLAGS+=-DDEBUG
endif
endif
 
 
Line 29... Line 29...
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
 
 
 
-include .depend
 
 
 
CSRCS=                           \
 
        block_decypher.c         \
 
        csa.c decrypt.c          \
 
        get_key_perm_table.c     \
 
        key_perm.c               \
 
        key_schedule.c           \
 
        misc.c                   \
 
        stream_cypher.c
 
 
 
depend:
 
        rm -fr .depend
 
        for f in $(CSRCS);              \
 
        do                              \
 
                gcc -M -MM $$f>>.depend;\
 
        done

powered by: WebSVN 2.1.0

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