2006-03-28 21:46:39 +00:00
|
|
|
PROGS = genksyms
|
|
|
|
|
2009-02-22 14:05:13 +00:00
|
|
|
OUTDIR = scripts/genksyms
|
2006-03-28 21:46:39 +00:00
|
|
|
|
2009-03-24 09:28:26 +00:00
|
|
|
top_srcdir = ../..
|
|
|
|
|
2011-07-31 11:18:48 +00:00
|
|
|
VPATH = $(top_srcdir)/$(OUTDIR)
|
2009-03-24 09:28:26 +00:00
|
|
|
|
2011-07-31 11:02:37 +00:00
|
|
|
include $(top_srcdir)/debian/build/Makefile.inc
|
2009-03-24 09:28:26 +00:00
|
|
|
|
|
|
|
CFLAGS += -I$(VPATH)
|
2006-03-28 21:46:39 +00:00
|
|
|
|
|
|
|
genksyms: genksyms.o parse.o lex.o
|
|
|
|
|
|
|
|
lex.o: keywords.c parse.h
|
|
|
|
|
|
|
|
%.c: %.c_shipped
|
|
|
|
ln -s $< $@
|
|
|
|
|
|
|
|
%.h: %.h_shipped
|
|
|
|
ln -s $< $@
|
2009-03-24 09:34:28 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f keywords.c parse.h
|