summaryrefslogtreecommitdiff
path: root/Makefile
blob: 6dd74b2268a5844269fbcc5351281a4033ad05a9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# uuterm, Copyright (C) 2006 Rich Felker; licensed under GNU GPL v2 only


SRCS = main.c term.c comb.c tty.c alloc.c refresh.c ascii.c     fbcon.c dblbuf.c
OBJS = $(SRCS:.c=.o)

CFLAGS = -O2 -s #-g
LDFLAGS = -s

-include config.mak

all: uuterm

$(OBJS): uuterm.h

uuterm: $(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS)

clean:
	rm -f $(OBJS) uuterm