File: Makefile

package info (click to toggle)
kon2 0.3.9b-20
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, lenny, squeeze, wheezy
  • size: 628 kB
  • ctags: 808
  • sloc: ansic: 6,974; makefile: 219; sh: 181
file content (23 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
OBJ	= sockface.o getcap.o mem.o font.o coding.o
LIB	= libgon.a

ifeq (../.config,$(wildcard ../.config))
include ../.config
endif

all:	$(LIB)

$(LIB):	$(OBJ)
	$(AR) rcs $(LIB) $(OBJ)

depend .depend:
	$(CC) $(CFLAGS) -M *.c > .depend

clean:
	$(RM) -f $(OBJ) $(LIB) *~ .depend

install: all

ifeq (.depend,$(wildcard .depend))
include .depend
endif