X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=build%2FMakefile.kernel;h=71492d89ecfb9c1850a53783a755c9e7ffda3dbd;hb=8d08de4bb62ad9a114488e4ca281d4dcc03d84d9;hp=69c8ac697c0546c9c5b2dbf26d21a4e8e77523f4;hpb=609a9925beef935217ca2cb24c6b5d5d64a6035e;p=chaz%2Fopenbox diff --git a/build/Makefile.kernel b/build/Makefile.kernel index 69c8ac69..71492d89 100644 --- a/build/Makefile.kernel +++ b/build/Makefile.kernel @@ -8,7 +8,7 @@ LIBS += $(GLIB_LIBS) $(GMODULE_LIBS) $(XFT_LIBS) LDFLAGS = -export-dynamic target = openbox3 -sources = action.c client.c config.c dispatch.c engine.c event.c \ +sources = action.c client.c dispatch.c engine.c event.c \ extensions.c focus.c frame.c grab.c menu.c openbox.c \ parse.c plugin.c prop.c screen.c stacking.c timer.c xerror.c \ parse.lex.c parse.tab.c @@ -25,6 +25,10 @@ all: $(target) $(target): $(objects) render/librender.a $(LINK) -o $@ $^ $(LIBS) $(LDFLAGS) +# kill the implicit .c.y rule +$(srcdir)/%.c: $(srcdir)/%.y + @ + $(dir)/%.o: $(srcdir)/%.c $(depdir)/%.d $(COMPILE) -c -o $@ $< @@ -58,4 +62,4 @@ distclean: -include $(deps) -.PHONY: kernel-install kernel-uninstall kernel-clean +.PHONY: all install uninstall clean distclean