summaryrefslogblamecommitdiff
path: root/src/plugins/Makefile.in
blob: 71b743dcad306ab8880361071754b59ee234d614 (plain) (tree)



























                                                                                  
COMMON_H = ../common/HPMi.h ../common/cbasetypes.h

PLUGINS = sample

@SET_MAKE@

#####################################################################
.PHONY : all $(PLUGINS) sample clean help

all: $(PLUGINS)

sample: sample@DLLEXT@

clean:
	@echo "	CLEAN	plugins"
	@rm -rf *.o

help:
	@echo "possible targets are $(PLUGINS:%='%') 'all' 'clean' 'help'"
	@echo "'sample'   - sample plugin"
	@echo "'help'     - outputs this message"

#####################################################################

%@DLLEXT@: %.c $(COMMON_H)
	@echo "	CC	$<"
	@@CC@ @DEFS@ @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ @SOFLAGS@ -o ../../plugins/$@ $<