home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-01-31 | 570 b | 27 lines |
- SOURCESA =\
- create_exec_windows.c \
- exec_panel_proc.c exec_p_go_proc.c exec_p_quit_proc.c exec_p_load_proc.c\
- exec_reset.c exec_refresh.c destroy_exec_windows.c\
- pipe_create.c decode_input_string.c
-
- MATHLIBS = -lm
- CFLAGS = -sun4 -O
- HEADERSA =
- HEADERS = ${HEADERSA}
- LIBRARY = execlib.a
-
- # This works for SunOS 4.0 and SunOS 3.2 not for SunOS 3.5.
- ${LIBRARY}: ${LIBRARY}{${SOURCESA:.c=.o}}
- ar rv $@ $?
- ranlib $@
- # For SunOS 3.5 use this instead.
- # ar rv $@ *.o
- # ranlib $@
-
- lib.a(%.o): %.o
-
- ${SOURCESA:.c=.o}: ${HEADERSA}
- cc -c $*.c ${CFLAGS} ${MATHLIBS}
-
- ${HEADERS}:
-