Annotation of MiNT/src/makefile, revision 1.1

1.1     ! root        1: #
        !             2: 
        !             3: # Makefile for MiNT using the GCC
        !             4: 
        !             5: #
        !             6: 
        !             7: #for 16 bit integers ONLY
        !             8: 
        !             9: MODEL = -mshort
        !            10: 
        !            11: LIBS = -liio16
        !            12: 
        !            13: 
        !            14: 
        !            15: CC = gcc
        !            16: 
        !            17: 
        !            18: 
        !            19: DEFS = -DFASTTEXT -DZEROEXIT -DOWN_LIB
        !            20: 
        !            21: 
        !            22: 
        !            23: #
        !            24: 
        !            25: # if you have an older version of gcc, it won't understand -G;
        !            26: 
        !            27: # that won't hurt anything (it just controls the format of the
        !            28: 
        !            29: # symbol table) so just delete the -G. Do *not* change it into
        !            30: 
        !            31: # -g!!!
        !            32: 
        !            33: #
        !            34: 
        !            35: CFLAGS = -G -Wall -O -fomit-frame-pointer $(MODEL) $(DEFS)
        !            36: 
        !            37: 
        !            38: 
        !            39: #
        !            40: 
        !            41: # directory where the .s files reside, plus a trailing slash.
        !            42: 
        !            43: # You may need to change this to 'gas\\' or 'gas\', depending
        !            44: 
        !            45: # on your version of make.
        !            46: 
        !            47: 
        !            48: 
        !            49: ASM=gas/
        !            50: 
        !            51: 
        !            52: 
        !            53: 
        !            54: 
        !            55: COBJS = bios.o xbios.o console.o dos.o dosdir.o dosfile.o dosmem.o dossig.o \
        !            56: 
        !            57:        filesys.o main.o mem.o proc.o signal.o timeout.o tty.o util.o \
        !            58: 
        !            59:        biosfs.o pipefs.o procfs.o tosfs.o debug.o rendez.o \
        !            60: 
        !            61:        unifs.o shmfs.o fasttext.o
        !            62: 
        !            63: 
        !            64: 
        !            65: CSRCS = bios.c xbios.c console.c dos.c dosdir.c dosfile.c dosmem.c dossig.c \
        !            66: 
        !            67:        filesys.c main.c mem.c proc.c signal.c timeout.c tty.c util.c \
        !            68: 
        !            69:        biosfs.c pipefs.c procfs.c tosfs.c debug.c rendez.c \
        !            70: 
        !            71:        unifs.c shmfs.c fasttext.c
        !            72: 
        !            73: 
        !            74: 
        !            75: SOBJS = context.o intr.o syscall.o quickzer.o quickmov.o
        !            76: 
        !            77: 
        !            78: 
        !            79: OBJS = $(COBJS) $(SOBJS)
        !            80: 
        !            81: 
        !            82: 
        !            83: mint.prg: $(OBJS)
        !            84: 
        !            85:        $(CC) $(CFLAGS) -o mint.prg $(OBJS) $(LIBS)
        !            86: 
        !            87: 
        !            88: 
        !            89: $(SOBJS): proc.h
        !            90: 
        !            91: $(COBJS): mint.h proc.h file.h
        !            92: 
        !            93: 
        !            94: 
        !            95: main.o: version.h
        !            96: 
        !            97: 
        !            98: 
        !            99: #
        !           100: 
        !           101: # assembler source files reside in their own directory, so that
        !           102: 
        !           103: # different compilers are easily accounted for
        !           104: 
        !           105: #
        !           106: 
        !           107: 
        !           108: 
        !           109: context.o: $(ASM)context.s
        !           110: 
        !           111:        $(CC) -c $(ASM)context.s -o context.o
        !           112: 
        !           113: 
        !           114: 
        !           115: intr.o: $(ASM)intr.s
        !           116: 
        !           117:        $(CC) -c $(ASM)intr.s -o intr.o
        !           118: 
        !           119: 
        !           120: 
        !           121: syscall.o: $(ASM)syscall.s
        !           122: 
        !           123:        $(CC) -c $(ASM)syscall.s -o syscall.o
        !           124: 
        !           125: 
        !           126: 
        !           127: quickzer.o: $(ASM)quickzer.s
        !           128: 
        !           129:        $(CC) -c $(ASM)quickzer.s -o quickzer.o
        !           130: 
        !           131: 
        !           132: 
        !           133: quickmov.o: $(ASM)quickmov.s
        !           134: 
        !           135:        $(CC) -c $(ASM)quickmov.s -o quickmov.o
        !           136: 
        !           137: 
        !           138: 
        !           139: #
        !           140: 
        !           141: # mkptypes generates prototypes from C source code. If you don't have it,
        !           142: 
        !           143: # you'll have to add/delete function prototypes by hand.
        !           144: 
        !           145: # also: Sozobon users will have to edit proto.h by hand to change the
        !           146: 
        !           147: #    #if defined(__STDC__) || defined(__cplusplus)
        !           148: 
        !           149: # line into
        !           150: 
        !           151: #    #if __STDC__
        !           152: 
        !           153: #
        !           154: 
        !           155: proto.h: $(CSRCS)
        !           156: 
        !           157:        mkptypes $(CSRCS) >proto.h
        !           158: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.