mirror of
git://projects.qi-hardware.com/setfont2.git
synced 2024-11-14 08:20:37 +02:00
24 lines
360 B
Makefile
24 lines
360 B
Makefile
|
|
PROJECT = setfont2
|
|
STRIP = strip
|
|
CFLAGS = -Wall -Os
|
|
INCLUDES = -I. -I/usr/include
|
|
LIBS = -L/usr/lib
|
|
PARTS = setfont2.o
|
|
|
|
.c.o:
|
|
$(RM) $@
|
|
$(CC) -c $(CFLAGS) $(DEFINES) $(INCLUDES) $*.c
|
|
|
|
.SILENT:
|
|
|
|
all: $(PROJECT)
|
|
|
|
$(PROJECT): $(PARTS)
|
|
$(CC) -Wl,-rpath-link=/usr/lib $(DEFINES) $(LIBS) -o $(PROJECT) $(PARTS)
|
|
$(STRIP) $(PROJECT)
|
|
|
|
clean:
|
|
rm -f *.o $(PROJECT)
|
|
|