ios-kernel-patch/Makefile

10 lines
258 B
Makefile
Raw Normal View History

2011-03-29 10:09:38 +07:00
DATA = $(word 1,$(wildcard ./data ../data))
include $(DATA)/Makefile.common
OBJS = check_sanity make_kernel_patchfile apply_patchfile
all: .settings $(OBJS)
%: %.c
make -C $(DATA)
$(GCC) $(CFLAGS) -o $@ $< -I$(DATA) $(DATA)/libdata.a
clean:
rm -f $(OBJS)