Root/Makefile

1
2PROJECT = setfont2
3STRIP = strip
4CFLAGS = -Wall -Os
5INCLUDES = -I. -I/usr/include
6LIBS = -L/usr/lib
7PARTS = setfont2.o
8
9.c.o:
10    $(RM) $@
11    $(CC) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $*.c
12
13.SILENT:
14
15all: $(PROJECT)
16
17$(PROJECT): $(PARTS)
18    $(CC) -Wl,-rpath-link=/usr/lib $(DEFINES) $(LIBS) -o $(PROJECT) $(PARTS)
19    $(STRIP) $(PROJECT)
20
21clean:
22    rm -f *.o $(PROJECT)
23
24

Archive Download this file

Branches:
master



interactive