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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [Open8 Tools/] [open8_src/] [open8_as/] [makefile] - Diff between revs 178 and 290

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

Rev 178 Rev 290
Line 1... Line 1...
CC=cc
CC=gcc
LD=cc
LD=gcc
 
 
CFLAGS= -c
CFLAGS= -c
LDFLAGS = -lm
LDFLAGS = -lm
WLAFLAGS = $(CFLAGS) -DUNIX -Dv8urisc
WLAFLAGS = $(CFLAGS) -DUNIX -Dv8urisc
 
 
Line 9... Line 9...
HFILES = main.h parse.h include_file.h pass_1.h pass_2.h pass_3.h pass_4.h stack.h listfile.h defines.h
HFILES = main.h parse.h include_file.h pass_1.h pass_2.h pass_3.h pass_4.h stack.h listfile.h defines.h
OFILES = main.o parse.o include_file.o pass_1.o pass_2.o pass_3.o pass_4.o stack.o listfile.o
OFILES = main.o parse.o include_file.o pass_1.o pass_2.o pass_3.o pass_4.o stack.o listfile.o
 
 
 
 
all: $(OFILES) makefile
all: $(OFILES) makefile
        $(LD) $(OFILES) $(LDFLAGS) -o open8_as ; strip open8_as || true
        $(LD) $(OFILES) $(LDFLAGS) -o open8_as
 
 
main.o: main.c defines.h main.h makefile
main.o: main.c defines.h main.h makefile
        $(CC) $(WLAFLAGS) main.c
        $(CC) $(WLAFLAGS) main.c
 
 
parse.o: parse.c defines.h parse.h makefile
parse.o: parse.c defines.h parse.h makefile
Line 43... Line 43...
 
 
$(OFILES): $(HFILES)
$(OFILES): $(HFILES)
 
 
 
 
clean:
clean:
        rm -f $(OFILES) core *~ open8_as
        del $(OFILES) core *~ open8_as
 
 
install:
install:
        make ; cp open8_as /usr/local/bin
        make ; cp open8_as /usr/local/bin

powered by: WebSVN 2.1.0

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