1
0
mirror of git://projects.qi-hardware.com/setfont2.git synced 2024-12-12 16:11:31 +02:00
setfont2/Makefile

24 lines
360 B
Makefile
Raw Normal View History

PROJECT = setfont2
2010-07-21 13:08:36 +03:00
STRIP = strip
CFLAGS = -Wall -Os
2010-07-21 13:08:36 +03:00
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)
2010-07-21 13:08:36 +03:00
$(CC) -Wl,-rpath-link=/usr/lib $(DEFINES) $(LIBS) -o $(PROJECT) $(PARTS)
$(STRIP) $(PROJECT)
clean:
rm -f *.o $(PROJECT)