summaryrefslogtreecommitdiffstats
path: root/loader/kon2/lib/Makefile
blob: a17a97a0f92b14efca81f2cec8b071f5ac95989c (plain)
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