Makefile - sam - An updated version of the sam text editor. | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
Makefile (989B) | |
--- | |
1 # Copyright (c) 1998 Lucent Technologies - All rights reserved. | |
2 # | |
3 # Prototype Makefile for samterm | |
4 # | |
5 | |
6 include ../config.mk | |
7 | |
8 # add -Iincludedir for any include directories that need to be se… | |
9 # for posix header files (for UMIPS, add -I/usr/include/posix) | |
10 INCS=-I../include | |
11 | |
12 # SAMTERM contains the name of the file containing the samterm | |
13 # executable. | |
14 SAMTERM=$(BINDIR)/samterm | |
15 | |
16 # set this if your X libraries are in different locations | |
17 # or if you need extra libraries to load with X11 applications | |
18 XLIBS=-lXt -lX11 -lXft -lXi | |
19 | |
20 CFLAGS+=$(INCS) $(STANDARDS) $(INCLUDES) | |
21 | |
22 LIBS=../libframe/libframe.a ../libXg/libXg.a | |
23 CC?=c99 | |
24 | |
25 OBJ=main.o flayer.o io.o menu.o mesg.o rasp.o samrc.o scroll.o unix.o | |
26 | |
27 all: samterm | |
28 | |
29 samterm: $(OBJ) $(LIBS) | |
30 $(CC) -o samterm $(OBJ) $(LIBS) $(XLIBS) $(LDFLAGS) | |
31 | |
32 clean: | |
33 rm -f *.o core samterm | |
34 | |
35 install: samterm | |
36 cp samterm $(SAMTERM) | |
37 | |
38 uninstall: | |
39 rm -f $(SAMTERM) | |
40 | |
41 $(OBJ): samterm.h flayer.h ../include/frame.h ../include/libg.h .… |