blob: 2ba9f7dbba45cccc57ac6a10efef4552acbd0dbe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
PROJECT=libterm
CC=g++
LD=ld
CFLAGS=-Wwrite-strings -fpermissive -fno-rtti -fno-exceptions -fno-unwind-tables
make:
$(CC) $(CFLAGS) -c term.c
$(CC) $(CFLAGS) -c screen_modes.c
$(CC) $(CFLAGS) -c term_io.c
$(CC) $(CFLAGS) -c term_gui.c
$(LD) -r term.o screen_modes.o term_io.o term_gui.o -o $(PROJECT).o
clean:
rm *.o
|