home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-10-21 | 1.0 KB | 44 lines |
- #
- # Makefile for IntuiSup-Library
- #
- # Macros
- #
- CFLAGS_PRE =-a -pacs -so -wdelopqw -ho ram:lib.pre
- CFLAGS_LIB =-mb -pacs -so -wdelopqw -hi ram:lib.pre
- CFLAGS =-pacs -so -wdelopqw -hi ram:lib.pre
- AFLAGS =
- LFLAGS =-m +q
- OBJECTS =libstartup.o libinit.o libstubs.o /render/render.o\
- /texts/texts.o /borders/borders.o /gadgets/gadgets1.o /gadgets/gadgets2.o\
- /gadgets/gadgets3.o /menus/menus.o
- LIBRARIES =-lc16
- #
- # Dependancy entries
- #
- all: ram:lib.pre intuisup.library library_test
- #
- ram:lib.pre: lib.pre
- copy lib.pre $@ clone
- #
- lib.pre: includes.h
- cc $(CFLAGS_PRE) -o nil: includes.h
- copy ram:lib.pre $@ clone
- #
- libstartup.o: libdata.i compile_date.i
- as $*.asm
- #
- compile_date.i:
- mydate >compile_date.i format "*tdc.b*t\q (\a \d \t)\q,13,10,0"
- #
- intuisup.library: $(OBJECTS) compile_date.i
- ln $(LFLAGS) -o $@ $(OBJECTS) $(LIBRARIES)
- delete compile_date.#? quiet
- copy $@ libs: clone
- #
- library_test: library_test.o
- ln $(LFLAGS) -o $@ library_test.o $(LIBRARIES)
- #
- libinit.o: libinit.c
- cc $(CFLAGS_LIB) libinit.c
- #
-