diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,9 +1,12 @@ -all: sayhello sayhello-spanish.so sayhello-swedish.so sayhello-stderr.so +all: sayhello libsayhello-spanish.so libsayhello-swedish.so libsayhello-stderr.so sayhello: sayhello.c $(CC) -o $@ $(CFLAGS) $< +sayhello-direct: sayhello.c libsayhello-swedish.so + $(CC) -o $@ -DDISABLE_PLUGINS $(CFLAGS) $< -L$(PWD) -lsayhello-swedish + libsayhello-%.so: libsayhello-%.c $(CC) -o $@ $(CFLAGS) -shared $< |