-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
If you're adapting this makefile for use with your own plugins, be aware that you might need to insert an extra line after the first plugin build rule, containing only a single tab character:
myplugin: myplugin.lv2/myplugin$(LIB_EXT) myplugin.lv2/manifest.ttl
[TAB NEEDED HERE]
myplugin.lv2/myplugin$(LIB_EXT): myplugin.c
$(CC) $^ $(BUILD_C_FLAGS) $(LINK_FLAGS) -lm $(SHARED) -o $@
This tab tells make that the dependency line of the rule is over and what follows is the action line (in this case containing no actions) to be followed when those dependencies change. Without the tab, make sometimes seems to "run on" and tries to interpret the next rule as if it were part of the first one (at least in my environment, YMMV).
For some reason, this particular makefile seems to work without the tab but it does seem to be necessary in general.
Metadata
Metadata
Assignees
Labels
No labels