diff options
Diffstat (limited to 'modules/basic/Makefile')
| -rw-r--r-- | modules/basic/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/basic/Makefile b/modules/basic/Makefile new file mode 100644 index 00000000000..bb136f3577f --- /dev/null +++ b/modules/basic/Makefile | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | ROOT = ../.. | ||
| 2 | |||
| 3 | CFLAGS = | ||
| 4 | LDFLAGS = | ||
| 5 | |||
| 6 | all: basic.so basic.doc | ||
| 7 | |||
| 8 | %.so: %.o | ||
| 9 | gcc -shared $(LDFLAGS) -o $@ $< | ||
| 10 | |||
| 11 | %.o: %.c | ||
| 12 | gcc -ggdb3 -Wall -I$(ROOT)/src $(CFLAGS) -fPIC -c $< | ||
| 13 | |||
| 14 | %.doc: %.c | ||
| 15 | $(ROOT)/lib-src/make-docfile $< > $@ | ||