summaryrefslogtreecommitdiff
path: root/Makefile
blob: 973a44a886b4bc8681ca8c7bcefc7cdfab09e7ac (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 decomp.c tty.c alloc.c refresh.c ascii.c ucf.c font_load.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