diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-19 11:59:45 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-04-19 11:59:45 +0200 |
commit | 478a4c0a89224f3b8b0641fd5480b81090259f15 (patch) | |
tree | 000837b2f08174ee4d070cb707e39b3a100a1918 /Makefile | |
parent | 096fcd1d98841d931799958bdba6601c788f1ab1 (diff) | |
download | sayhello-master.tar.bz2 sayhello-master.tar.xz |
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 $< |