1
0
mirror of git://projects.qi-hardware.com/setfont2.git synced 2024-12-04 10:39:41 +02:00
setfont2/Makefile
2010-07-21 22:08:36 +12:00

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)