home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-10-27 | 837 b | 41 lines |
- #
- # GCC makefile for SysInfo.library/uptime
- #
- # This file is public domain.
- #
- # Author: Petri Nordlund <petrin@megabaud.fi>
- #
- # $Id: MF.compile 1.5 1996/09/05 23:20:00 petrin Exp petrin $
- #
-
- # To compile uptime with multiuser.library support, you must have
- # installed the Multiuser package, specifically the include-files.
- # You'll also need GCC:lib/libmultiuser.a which is a small stub-library,
- # see GCC:geninline/ for information on how to build it.
-
- # Uncomment this to include multiuser-support
- #MULTIUSER = -DUSE_MULTIUSER -lmultiuser
-
- CFLAGS = -O
-
-
- SHELL = USR:BIN/sh
-
- # Source files
- SRCS = uptime.c
-
- # Object files
- OBJS = $(SRCS:.c=.o)
-
-
- all : uptime
-
- uptime : uptime.o
- gcc $(CFLAGS) -o uptime $^ -lamiga -lauto -lsysinfo $(MULTIUSER)
-
- uptime.o : uptime.c defs.h
- gcc $(CFLAGS) -c uptime.c
-
- clean:
- -delete uptime uptime.o
-