blob: c40e159b245eed2714b3c1a55dcdca381380f987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# (C) ChatSpike development team
# Makefile by <Craig@ChatSpike.net>
# Small modifications by <brain@ChatSpike.net>
#
all: $(MODULES)
%.so:
@$(MAKE) --no-print-directory TARGET=$(@:.so=)
$(TARGET).so:
$(CC) -I../../include $(FLAGS) -shared -o $@ $(TARGET).cpp
@cp $(TARGET).so $(MODPATH)/$(TARGET).so
|