File: Makefile.linux

package info (click to toggle)
kon2 0.3.9b-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 624 kB
  • ctags: 809
  • sloc: ansic: 6,919; makefile: 222; sh: 190
file content (34 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
OBJS	= font.o minix.o fontx2.o bdf.o #j3100.o

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

#CC = cc -g
#LD = cc -g

LOADLIBES = $(LIB)

all:	fld

fld:	fld.o font.a $(LIB)
	$(LD) -o fld fld.o font.a $(LIB)

font.a:	$(OBJS)
	$(AR) rcs font.a $(OBJS)

bdfcat: bdf.c $(LIB)
	$(CC) $(CFLAGS) -DBDFCAT -o bdfcat bdf.c $(LIB)

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

clean:
	$(RM) *.o fld font.a fontx.c *~ .depend

install: fld
	$(INSTALL) -m 4755 fld $(BINDIR)

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