Makefile - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
Makefile (730B)
---
1 # Copyright (c) 1998 Lucent Technologies - All rights reserved.
2 #
3 # Prototype Makefile for libframe
4 #
5 include ../config.mk
6
7 # add -Iincludedir for any include directories that need to be searched
8 # for posix header files (for UMIPS, add -I/usr/include/posix)
9 INCS=-I../include
10
11
12 # add name of library orderer - use ":" if none exists
13 RANLIB=:
14
15 # add name of library
16 AR=ar
17
18 CFLAGS+=-c $(INCS) $(STANDARDS) $(INCLUDES)
19
20 LIB=libframe.a
21 CC?=c99
22
23 OBJ=frbox.o frdelete.o frdraw.o frinit.o frinsert.o frptofchar.o\
24 frselect.o frstr.o frutil.o
25
26 all: $(LIB)
27
28 $(LIB): $(OBJ)
29 $(AR) rv $(LIB) $(OBJ)
30 $(RANLIB) $(LIB)
31
32 clean:
33 rm -f *.o *.a
34
35 nuke: clean
36 rm -f $(LIB)
37
38 install: $(LIB)
39
40 uninstall:
41
42 $(OBJ): ../include/u.h ../include/frame.h