mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
new file
This commit is contained in:
parent
15e75e00c7
commit
2c19069182
1 changed files with 53 additions and 0 deletions
53
progs/fbdev/Makefile
Normal file
53
progs/fbdev/Makefile
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
# Makefile for miniglx demo programs
|
||||||
|
|
||||||
|
TOP = ../..
|
||||||
|
|
||||||
|
include $(TOP)/configs/current
|
||||||
|
|
||||||
|
|
||||||
|
SOURCES = glfbdevtest.c
|
||||||
|
|
||||||
|
OBJECTS = $(SOURCES:.c=.o)
|
||||||
|
|
||||||
|
PROGS = $(SOURCES:%.c=%)
|
||||||
|
|
||||||
|
INCLUDES = \
|
||||||
|
-I. \
|
||||||
|
-I$(TOP)/include
|
||||||
|
|
||||||
|
|
||||||
|
##### RULES #####
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .c
|
||||||
|
|
||||||
|
.c:
|
||||||
|
$(CC) $(INCLUDES) $(CFLAGS) $< $(APP_LIB_DEPS) -o $@
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
$(CC) -c $(INCLUDES) $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
.S.o:
|
||||||
|
$(CC) -c $(INCLUDES) $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
|
|
||||||
|
##### TARGETS #####
|
||||||
|
|
||||||
|
default: depend $(PROGS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(PROGS)
|
||||||
|
rm -f *.o
|
||||||
|
|
||||||
|
|
||||||
|
depend: $(SOURCES)
|
||||||
|
touch depend
|
||||||
|
$(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(SOURCES) > /dev/null
|
||||||
|
|
||||||
|
|
||||||
|
# Emacs tags
|
||||||
|
tags:
|
||||||
|
etags `find . -name \*.[ch]` `find ../include`
|
||||||
|
|
||||||
|
|
||||||
|
include depend
|
||||||
Loading…
Add table
Reference in a new issue