summaryrefslogtreecommitdiff
path: root/Makefile
blob: a6deb84d8de89a4f695665e509a32a1fd7e7cb96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SRCS = main.c
HEAD = 
FLGS = -g -I/usr/X11R6/include `imlib2-config --cflags`
LIBS = -L/usr/X11R6/lib -lm -lX11 -lXext -lXrender `imlib2-config --libs`
####################
OBJS = $(SRCS:.c=.o)

render_bench: $(OBJS)
	$(RM) $@
	$(CC) -o $@ $(OBJS) $(LIBS)

.c.o:
	$(CC) $(FLGS) -c $< -o $@

clean::
	rm -rf render_bench *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*